apa47
apa47
> @adrian-parasciuc https://reactjs.org/docs/hooks-state.html please refer to docs. Also look here: https://reactjs.org/warnings/invalid-hook-call-warning.html. Looks like you are not initializing the function to set the actual state, not sure if that would fix...
> @adrian-parasciuc any reason why you have `react-dom` as a dependency in react-native project. I typically associate that with a `react` project, not necessarily a `react-native` project. Idk if that...
> You're using hooks in the *.js/ts of the module? That's not a React component AFAIK. Put your hooks in your React app, don't put them in the plugin's code....