50岁的星空

Results 20 comments of 50岁的星空

https://github.com/X-neuron/antdFront https://zhuanlan.zhihu.com/p/354111579 纯react-router 6 + 原生组件的 方案,能支持动画,不知道 有没解决 keep-alive 的相关需求

项目里的 example 就是样例 vue2的,这个能解决主应用状态保存的问题,但是子应用的 内部状态需要子应用保存... 主应用负责保存子应用的路由状态..

> 子应用里的页面没有状态保存,会重新加载子应用页面 指的是 微应用的 状态保存? 主应用到子应用的路由指向正确即可,子应用的状态 我觉得是qiankun框架要解决的问题,或者由子应用自己决定保存的方式...

这个场景 可否用下面这个思路解决?: 1、只依赖路由的部分 可能需要做基于url 的应用,状态参数在Url中提取。 2、不依赖路由的 状态同步,基于 rxjs 的监听式数据状态可能可以 解决 主应用和子应用状态一致的问题。这个就需要你们自己做个rxjs的数据底库。内部数据流从这地库中提取约定好的变量...

wait for few days , will update a react + nest.js + postgres + typeorm realworld example~

[qiankunApiDoc](https://qiankun.umijs.org/api#initglobalstatestate) this docs will help you ~

> Dear X-neuron, Could you please update the example? Because of the reason of my city COVID-19, I temporarily can not return to the office to export the required project...

this tempalte does'nt support hot reload? you can run : npm run dev and then change: src/pages/test4/CountBtn.jsx change the ui as you like and save you can see ,it does'nt...

> Dear X-neuron, Could you please update the example? https://github.com/X-neuron/x-plat.git this app base on this tempalete in the real world~ may be useful for you~

> Could you please explain some questions? 1, what is the different of this repo and antdFront? 2, can you add a reactjs example to x-plat? antdfront is a template...