Closed tom-twinlabs closed 5 months ago
The compiler does not replace the react reconciler, but it does rely on features introduced in React 19.
We have a v9 release (in alpha currently) which will support React 19. https://github.com/pmndrs/react-three-fiber/pull/2331
Oh I see, thanks!
With the news of the React Compiler making progress towards open source https://react.dev/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024, it got me thinking, will r3f work with the react compiler? I don't understand the react internals particularly well but I think maybe the compiler essentially replaces the fiber reconciler? I'm just trying to think ahead a year or two and imagine a world where its normal to compile a react app (beyond the normal tsc, bundling etc I mean)... will this 'just work' with r3f or will it be a challenge?
Many thanks for all your hard work and the great library