React Tips — Spies, Global Events, and Nav Links
4 min readSep 15, 2020
React is a popular library for creating web apps and mobile apps.
In this article, we’ll look at some tips for writing better React apps.
Register Event with useEffect Hooks
We can register events within the useEffect
callback.