Post

Running into issues where the react compiler compiles solid-js code in @tanstack.com devtools because solid has `useContext` too and the compiler does its thing and everything dies with “invalid hook call” 💀 @ryansolid.bsky.social FYI

1 repost15 likes

@en-js.bsky.social not sure if you’re still working on the react compiler but is the compiler really touching everything that starts with “use...” ? We already renamed our custom solid code from “use...” to “create...” but there are things we can’t change

You might want to configure which files the React Compiler runs in the Vite config for JS compiler ``` babel({ include: <paths_here>, presets: [reactCompilerPreset()], }), ``` for rust compiler ``` reactCompilerOxc({ sources: >paths_here>, }), ```