Hacker News new | ask | show | jobs
by lsb 4378 days ago
How do you deal with propagating events through the system? If I'm clicking Follow as people are following and unfollowing, how does that number change?
1 comments

Clicking follow mutates the global app data. Changes to the app data causes the entire application to re-render, and React pushes those changes out to the DOM.

So, to answer your question, we don't propagate events :)