Steps to repro:
- Clone this repository
- Install dependencies:
npm i
- Start the server:
node index.js
1: Load the test page in a browser:http://localhost:3000
;- observe the components render as expected
- Next, load the test page with a
triggerError
param:http://localhost:3000?triggerError=true
- You should see an error message:
Triggering an error during a re-render!!!
- You should see an error message:
- Finally, attempt to reload the original page:
http://localhost:3000
- You will see an error message saying
Rendered more hooks than during the previous render
- You will see an error message saying