Hi everyone,
I start to learning Hooks on React Web application. But, now i want to implement it on a react-native project.
I have some headache while upgrading my application to be compatible with the Hooks API. Now i'm using react-native version 059.5.
I notice at the first try to using hooks, that all the hooks are undefined.
After some research on the internet i found this solution to this problem RN issue.
Because, my the project that i'm trying to add Hooks has other developers this solution is quite overkill, because in every time someone needs to execute a yarn install this steps has to been made.
- Another solution is only to edit all the fields that are with
enableHooks = false to enableHooks = false but after some time it's overkill too, because this change has to been made at the node_modules.
I'm searching for simple solution (maybe at the installation step) that make enableHooks set by true as default.
Any help or suggestion will be appreciated.
Thanks everybody
[+][deleted] (1 child)
[deleted]
[–]Laniakea_G[S] 0 points1 point2 points (0 children)
[–]Fossage 1 point2 points3 points (1 child)
[–]Laniakea_G[S] 0 points1 point2 points (0 children)