3 ms·
anyone knows the status of the React Forget thingy?
by nsonha 2y ago
anyone knows the status of the React Forget thingy?
- recursive 2y agoThe flagship feature of React 19 is a "compiler", but doesn't seem to have the main features of Forget. (inferred effect dependencies) I'm guessing it's not coming any time soon.
- acemarke 2y agoReact 19, a library release, is completely separate from the eventual release of the React Compiler build tool (which is currently implemented as a Babel plugin wrapper around a full compiler implementation core). That said, React Compiler will _depend_ on React 19, because it needs a new memo/caching hook that will be included in 19.
- mst 2y agoI wonder how it compares to https://github.com/ryansolid/dom-expressions/tree/main/packages/babel-plugin-jsx-dom-expressions#babel-plugin-jsx-dom-expressions https://github.com/ryansolid/dom-expressions/tree/main/packa...
- klysm 2y agoI feel like making it compiled is a mistake. It will split the world in two
- acemarke 2y agoIt's now called "React Compiler". It's not released yet, but the dev team has been saying it'll be out _after_ React 19 but "sooner than you think": - https://react.dev/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024#react-compiler https://react.dev/blog/2024/02/15/react-labs-what-we-have-be... - https://twitter.com/potetotes/status/1783713677943656819 https://twitter.com/potetotes/status/1783713677943656819
- mst 2y agoTangentially, Solid is fascinating - especially the dom-expressions backend meaning you can basically bolt compilation behaviour into anything that supports that. I have https://github.com/ryansolid/mobx-jsx/?tab=readme-ov-file#mobx-jsx https://github.com/ryansolid/mobx-jsx/?tab=readme-ov-file#mo... on my list to try since I -really- like mobx for stage management (especially mobx-keystone) and am fascinated by how clean the results can be. Though for 'real' code I still tend to default to react + mobx-keystone because for all my gripes with react it's a pretty solid Schelling Point.