I think changing the core of react to use signal will gain so much in performance...I think svelte and other framework adopt that but react and don't think so 😢
React has a library called preact/signals-react, where you can declare exportable state values.. which is honestly an amazing life-saver to simplify the crap outta state management while retaining speed. Use it in conjunction with react-query, and you'll feel like a goddamn speed magician. My phone and web apps almost always feel faster than all my competition and it's not even close, and signals and react-query is part of the secret to that.
Won't react compiler fix this ?
Yes but it's still in Beta and isn't production ready for most apps.
I think changing the core of react to use signal will gain so much in performance...I think svelte and other framework adopt that but react and don't think so 😢
Everyone is now switching to the signal way of doing it and it makes sense performance wise.
React has a library called preact/signals-react, where you can declare exportable state values.. which is honestly an amazing life-saver to simplify the crap outta state management while retaining speed.
Use it in conjunction with react-query, and you'll feel like a goddamn speed magician.
My phone and web apps almost always feel faster than all my competition and it's not even close, and signals and react-query is part of the secret to that.