cerebral / overmind

Overmind - Frictionless state management
https://overmindjs.org
MIT License
1.58k stars 95 forks source link

[BUG] States changes are not reflecting in the UI but dev tool shows the value changed #537

Closed p32929 closed 3 years ago

p32929 commented 3 years ago

Hello, Thanks for the amazing library. But it seems, after changing states, UI is not getting updated. Here's a gif: typescript-overmind-materialui-drawer

Here's the source code: https://github.com/p32929/bugreport1

Hope you'll take a look at it. Thanks.

p32929 commented 3 years ago

Solved the issue using const instead of var in functions.