Closed jhuleatt closed 1 year ago
React 18 is now in beta.
This PR will investigate how we can/should use the new APIs available in React 18:
useSyncExternalStore
This can probably replace the bulk of the useEffect/useReducer stuff in useObservable 🎉
useEffect
useReducer
useObservable
useId
Maybe this can help with caching?
useInsertionEffect
From the working group discussion:
The use case is specifically for inserting global DOM nodes like
React 18 is now in beta.
This PR will investigate how we can/should use the new APIs available in React 18:
useSyncExternalStore
This can probably replace the bulk of the
useEffect
/useReducer
stuff inuseObservable
🎉useId
Maybe this can help with caching?
useInsertionEffect
From the working group discussion: