developit / unistore

🌶 350b / 650b state container with component actions for Preact & React
https://npm.im/unistore
2.86k stars 139 forks source link

setState not updating components #196

Closed adminy closed 2 years ago

adminy commented 2 years ago

I call store.setState twice and the component only registers one of those calls.

When I try it with a delay, or an async fetch it completely ignores it.

My component is hooked with connect

What is happening ?

adminy commented 2 years ago

The updated structure was different!