React’s useState/useContext pairing is easy to use but its got performance issues. Let’s look at Daishi Kato’s react-tracked library and see if we can still use our existing context code, but make it more efficient by only updating components that depend on specific elements of the state tree.

React-tracked: https://react-tracked.js.org/

Thank you for watching this video, click the “SUBSCRIBE” button for stay connected with this channel.

Subscription Link: https://bit.ly/2E7drfJ

#react

Fixing useContext with react-tracked
1.70 GEEK