Closed
Description
There still seems to be the issue of zombie child. It requires some special criteria to reproduce:
- The state needs to have initial value
- The delete action, needs to be async called in regards to the event handler (Ex.: wrap the action call inside a setTimeout)
- This is reproducible only on the elements that were present in the initial state.
Note, that the same scenario is not reproducible while using redux with hooks.
Repo to reproduce: https://github.com/ratoi-crysty/zustand-zombie-child
Metadata
Assignees
Labels
No labels