Supporting render and createRoot #29
dayhaysoos
started this conversation in
Q&A
Replies: 2 comments 3 replies
-
Could you clarify if you're talking from an application, library, or framework perspective?
|
Beta Was this translation helpful? Give feedback.
3 replies
-
There are no differences in the context API.
I wouldn't expect anything in particular. Give it a try? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just wondering what the best practices around this would look like. Could it be something as simple as checking if ReactDOM.createRoot is true or not, or is there something else we should be doing?
Also, is the Context API exactly the same for either? With use-shopping-cart, to take advantage of the redux implementation, there's a Provider component that's offered to wrap around your react app. Could there be any issues I come across if someone is using React 18?
Beta Was this translation helpful? Give feedback.
All reactions