react_vue_ts
react_vue_ts copied to clipboard
React useState cannot read properties of null ("reading useState") while consume the component in VueJS
trafficstars
I am facing an issue while consuming react component in vuejs2. Here is the complete information https://stackoverflow.com/questions/77088280/react-usestate-cannot-read-properties-of-null-reading-usestate-while-consume @tachyon-ops can you please suggest
~~Do you have a stripped down example I can test on?~~
Ok, I am working on it. Seems something changed with the typings, because useState is actually not null nor undefined.