Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectified a Grammatical mistake in Part 1. [ Update Part-1.md ] #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stack/book/Part-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### Transaction

Well, the component instance should be somehow **connected** to React's eco-system and, of course, **make some influence** on it. There is a dedicated module `ReactUpdates` which helps with this. As you know, **React performs updates in chunks**, it means that it collects operations and performs them **together**. It’s always better because it allows applying some **pre-condition** and **post-conditions** just once for the whole list of items (chunk) instead of doing it for each item.
Well, the component instance should be somehow **connected** to React's eco-system and, of course, **make some influence** on it. There is a dedicated module `ReactUpdates` which helps with this. As you know, **React performs updates in chunks**, which means that it collects operations and performs them **together**. It’s always better because it allows applying some **pre-condition** and **post-conditions** just once for the whole list of items (chunk) instead of doing it for each item.

What actually helps handle this pre/post processing? Right, **transaction**! For someone it can be a new word, or at least its interpretation for UI needs, so let’s talk a bit more about it and start from a simple example.

Expand Down