react-gradual-upgrade-demo icon indicating copy to clipboard operation
react-gradual-upgrade-demo copied to clipboard

How to avoid the "invalid Hook call" error while nesting React trees.

Open BlackGanglion opened this issue 2 years ago • 2 comments

sorry, I can't understand the solution in the docs, please could you explain it and tell me how to solve it,thanks ~~

BlackGanglion avatar Apr 25 '22 17:04 BlackGanglion

Which part do you not understand? It's hard to guess. Can you quote a specific part that's giving you trouble?

gaearon avatar Apr 25 '22 18:04 gaearon

@gaearon How to avoid the "invalid Hook call" error while nesting React trees. how did you solve it, sorry, I could not get from this docs.

BlackGanglion avatar Apr 26 '22 01:04 BlackGanglion