Post

I was hoping React Compiler would only rerender children if their sliced part of a larger state was updated - unfortunately all children gets updated :'( Curios what the recommended way is to solve this while not opting out of concurrent rendering? playground.react.dev#N4Igzg9grgTg...

0 reposts1 like

I’ll take a look though it’s a good question, I know there are cases where we automatically hoist children of map() and memoize them but not exactly sure when we do/dont do that

looking forward to it! in the meantime, may i ask if this PR is still up to date with the latest thinking on concurrent stores, or are there other resources i can look up? are there any thoughts around how to subscribe to parts/slices of an external store? github.com/facebook/rea...

github.comSkeleton for store by rickhanlonii · Pull Request #33215 · facebook/reactNote: This doesn't do anything yet. Just sets up some of the skeleton, feature flags, and test files. Conceptually there's an API to create a store, and then you can read the value with use...