i've started on a rewrite of the React Compiler docs thanks to the feedback from this thread: bsky.app/profile/nmn.... i want to make our compiler docs really great before the stable release, so i would love to hear more feedback! github.com/reactjs/reac...
Post
github.com[compiler] Rewrite React Compiler Docs by poteto · Pull Request #7868 · reactjs/react.devWe've received feedback that the compiler docs are difficult to understand and not prominent enough that people don't realize the compiler is a serious project and is near stable.
This PR r...
I may be mis understanding this, but as `React.memo()` is kept in the output, and as I don't see special flags (like `react.memo_cache_sentinel`) at the component level, I feel like we'll still need to use `React.memo` to avoid re-rendering a component See playground.react.dev#N4Igzg9grgTg...
playground.react.devReact Compiler Playground
@ayc0.github.io I added a bullet to the React.memo reference: react-dev-git-pr7868-fbopensource.vercel.app/reference/re... does this help?
react-dev-git-pr7868-fbopensource.vercel.appmemo – ReactThe library for web and native user interfaces
Oh that's great! Also TIL: if `<ExpensiveChild name="John" />` is memoized, it won't get re-rendered when the parent re-renders I thought it was generating indeed the same JSX but not the same Fiber
0 reposts1 like
No replies yet.