Closed charIeszhao closed 1 year ago
Use createRoot instead of ReactDOM.render as the latter is deprecated in React 18. https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis
createRoot
ReactDOM.render
React sample works
- [ ] .changeset - [ ] unit tests - [ ] integration tests - [ ] docs
.changeset
OR
Summary
Use
createRoot
instead ofReactDOM.render
as the latter is deprecated in React 18. https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apisTesting
React sample works
Checklist
- [ ].changeset
- [ ] unit tests- [ ] integration tests- [ ] docsOR