mehulmpt / firebase-react-hooks

Firebase + React Hooks app demo - https://www.youtube.com/watch?v=K_wZCW6wXIo
106 stars 76 forks source link

Resolved React Hook “useEffect” is called conditionally #4

Open fruit-ninja opened 4 years ago

fruit-ninja commented 4 years ago

Resolved React Hook “useEffect” is called conditionally. Hooks cannot be called in loops, conditions, or nested functions. Instead, always use Hooks at the top level of your React function.

fruit-ninja commented 4 years ago

closes #1