Skip to content

Commit

Permalink
Merge pull request vasanthk#104 from andrewbdesign/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
vasanthk authored May 18, 2019
2 parents 605084b + e835283 commit 84f346c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patterns/19.async-nature-of-setState.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
On the Async nature of setState()

## Gist:
React batches updates and flushes it put once per frame (perf optimization)
React batches updates and flushes it out once per frame (perf optimization)
However, in some cases React has no control over batching, hence updates are made synchronously
eg. eventListeners, Ajax, setTimeout and similar Web APIs

Expand Down

0 comments on commit 84f346c

Please sign in to comment.