The First Rule of React Hooks, In Plain English
Why hooks must always be called at the top level of your components
Published in
4 min readOct 24, 2019
Preface
So you’ve just learned how to use React Hooks. Hopefully you’ve read the official documentation on the Rules of Hooks so you know how to avoid some of the common pitfalls that may break your code. You’ve also hopefully configured…