next@14.0.2
@reduxjs/toolkit@2.2.4
react-redux@9.1.2
Run
git clone git@github.com:zy-jtp/rtk-next14-error.git
cd rtk-next14-error
yarn
yarn dev
- Open http://localhost:3000 with your browser to see the result.
- If you land on
/
click theGo to error demo
link or go to http://localhost:3000/error-demo - Clicking on any button dispatches an upsert in the
modalsSlice
and should show the error, also prints it in the console.