You May Be Looking for a useSyncExternalStore
“when you see a useEffect that updates a useState and returns a value, you might be looking for a useSyncExternalStore.” - https://swizec.com/blog/you-may-be-looking-for-a-useSyncExternalStore/
#react
“when you see a useEffect that updates a useState and returns a value, you might be looking for a useSyncExternalStore.” - https://swizec.com/blog/you-may-be-looking-for-a-useSyncExternalStore/
#react
Swizec
You may be looking for a useSyncExternalStore | Swizec Teller
When you see a `useEffect` that updates a `useState` and returns a value, you might be looking for a `useSyncExternalStore`. This is my current vendetta.
👍1
Creating an Immersive 3D Weather Visualization with React Three Fiber - https://tympanus.net/codrops/2025/09/18/creating-an-immersive-3d-weather-visualization-with-react-three-fiber/
#react
#react
Codrops
Creating an Immersive 3D Weather Visualization with React Three Fiber | Codrops
A step-by-step guide to simulating sun, rain, snow, and storms in an interactive 3D weather app.
👍2