kirill-konshin / next-redux-wrapper

Redux wrapper for Next.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redux Selector does not update when slice data is updated

karanshah229 opened this issue · comments

Describe the bug

Redux Selector does not update when slice data is updated.

To Reproduce

To see this bug in action head over to this sandbox

To see that this bug does not occur if I don't use the next-redux-wrapper pacakge head over to this sandbox

Expected behavior

I expect the selector to update and give the latest value.

Screenshots

No screenshots applicable.

Desktop (please complete the following information):

  • OS: Sandbox env
  • Browser - Chrome, Brave
  • Version - Latest

Additional context

None

Example repo - https://github.com/karanshah229/next-redux-wrapper-selector-issue

The code structure is explained in the repo Readme file.

@kirill-konshin and others would really appreciate some help on this.