A reactive atomic state engine for React like.
Home Page:https://heluxjs.github.io/helux/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
itmanyong opened this issue 2 years ago · comments
1.简易的复现demo:https://codesandbox.io/s/kind-wind-pmfxr1?file=/src/App.js
不要传整个connectedState进去,这是一个不变的对象
即使是直接使用ctx.connectedState也无法同步界面更新,仿佛没有订阅到一样
有可能是2.17版本的引入的bug,你更新到2.18试试呢,可以看下面这个链接是ok的
https://codesandbox.io/s/amazing-borg-3bke1l?file=/src/index.js