幻魂

Results 119 comments of 幻魂

i meet this problem too, my sys is andriod, sys ver is 6.0.1, without crosswalk, i use a paiter copoment which actually based on canvas element,whta I draw on the...

sorry for my phrase 'boring', I mean confused^_^

既然Context有缺陷,那我们就自己维护一个吧😀,欢迎了解concent,一个可预测、零入侵、渐进式、高性能的增强型状态管理方案 https://concentjs.github.io/concent-doc/

酒香也怕巷子深呀,需要让更多人了解concent

> I've tried rtk for a while before leaving it in favor of rematch. hey, my dear friend, have you tried [concent](https://github.com/concentjs/concent)? that will make state management much easier than...

试试 egg-scripts start --port=7001 --daemon --env=prod --title=egg-server-zhipianxing 2>&1 & 重定向到标准输出呢, 或者参考这个 https://www.thinbug.com/q/50634819

老铁有兴趣集成limu 试试看呢?https://github.com/tnfe/limu ,一个专为高效操作不可变数据而生的小库(faster than immer),由于时间关系还一直未推

收到建议,limu诞生之初就只考虑支持 proxy 的环境,算是面向现代浏览器的库吧,后续会做持续改进,争取面向生产(我们对待limu非常严谨,针对各种数据结构单测用例写了200多个,覆盖率97%了已经😀 ),面向es5的确是limu的最大软肋。

- 关于类组件里的手写类型来源 类组件里标记state是因为为了让用户可以不感知到state是由concent自动注入的,可以像原始的class组件那样使用concent的数据派发模式,做到0入侵的状态管理接入 ```js @register("counter") class DemoCls extends React.Component { state = {} as CounterSt; ctx = {} as Ctx; render() { // mr is short of moduleReducer, now you...