Closed this issue 2 years ago · 1 comments
I have been using react 18 on the project and received this error. Uncaught TypeError: Cannot read properties of null (reading 'useContext')
Uncaught TypeError: Cannot read properties of null (reading 'useContext')
Any recomendations on how to fix this problem.
Use createRoot instead of ReactDOM and fixed