new React Compiler docs have landed! thank you everyone for the feedback. react.dev/learn/react-...
lauren
lauren
@no.lol
▼・ᴥ・▼ working on React Compiler. formerly known as [@]potetotes on the cursed place
4.3K followers159 following146 posts
And we now also have a dedicated section for Library authors on how to use React Compiler to ship pre-optimized code to your users. react.dev/reference/re...
new React Compiler docs have landed! thank you everyone for the feedback. react.dev/learn/react-...
React Compiler is designed to work best with the default settings (no configuration!), but if you have a special need, we now have them documented. react.dev/reference/re...
We've also documented how to use the "use memo" and "use no memo" directives to opt-in or out components/hooks from React Compiler. In rare cases where your app breaks after being compiled, these directives help you move forward. react.dev/reference/re...
new React Compiler docs have landed! thank you everyone for the feedback. react.dev/learn/react-...
the new Learn pages for React Compiler are now better organized, and have new sections on incremental adoption and debugging. react.dev/learn/react-...
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...
Just published eslint-plugin-react-hooks@5.2.0-rc.1, which includes support for ESLint's new flat config, and the plugin is now completely written in TypeScript. Huge thanks to @michael.faith for working on this! Let me know if there are issues. www.npmjs.com/package/esli...
i couldn't make a starter pack with 4 people, but here's a list of the folks working on React Compiler! please give them a follow bsky.app/profile/did:...
if www.bluesky.com signs up with their domain it would be the funniest thing ever
lauren reposted
react@19.0.0-rc1 is out today with a replacement for sibling pre-rendering. Give it a try and maybe we can ship React 19 soon? github.com/facebook/rea...
lauren reposted
What a great morning for an upgrade! ✨ Btw if you've not tried React Compiler on React Native yet, it's quick and easy to set up with a config option: docs.expo.dev/guides/react...
lauren reposted
super cool to see @codey.bsky.social @sanity.io trying out React Compiler in production and sharing their results and experience back with the community! github.com/reactwg/reac...
lauren reposted
We've been working with the @react.dev compiler wg to adopt it for our libraries. It has been great so far! We're also the first ones to have shipped libraries on npm that supports both the new compiler and react 18: ⚛️ react-rx ⚛️ sanity/ui ::pats our own back:: www.npmjs.com/browse/depen...
lauren reposted
Replying to @no.lol
As of today we’re running React Compiler in prod as well on npm! github.com/sanity-io/re... working on adding it to sanity studio right now 😌
you might not know but this app runs React Compiler in prod! github.com/bluesky-soci... as far as i'm aware, bsky was the very first app outside of Meta to run the compiler in prod, a few days after React Conf 2024 (May). thanks to @samuel.bsky.team and @danabra.mov for being early adopters!
you can check out how we first enabled the compiler on bsky in my talk www.youtube.com/watch?v=lvhP...