- Clone
npm install
npm start
By default everything works.
Enable WDYR with const wdyrEnabled = true;
in src/index.tsx
.
In the WDYR docs, it is guarded by NODE_ENV=development
. Our teams use an environment variable. Either way the point is, sometimes it's on; sometimes it's off.
- Set
wdyrEnabled = true
npm start
- Open dev console in the browser.
- Reload the page or click the
Hello World
link. Before long, you will see hook ordering issues.