Comments (21)
keepalive:['/list','/xxx']
from alita.
写在配置中的会被保留,只能手动触发解除。
from alita.
使用之前,或者更新 umi 之后,都需要手动执行 umi keepalive
进行初始化
from alita.
什么时候能合并啊,现在急需keepalive
from alita.
@wangyinwei1 你用alita的话,现在已经具备了keep alive的能力了。
from alita.
请问我这个是哪配置错了吗?安装你上面的步骤配置的,但是启动报错了
from alita.
@wangyinwei1 在这里讨论把
from alita.
不是执行yarn init 是执行yarn run init (umi keepalive)
from alita.
嵌套路由之间的切换缓存不了数据,同级切换可以缓存,这个是什么原因@xiaohuoni
from alita.
估计是嵌套路由的链路没有全部是 CacheRoute ...
这个 issues 有提到,umi 里路由不可控,估计比较难搞了
from alita.
嵌套路由内部跳转可以,跳转到其他路由,不行。
讨论一下
from alita.
根据readme使用里面的方法配置约定式路由时不生效,配置式路由时报错
× error Plugin user:node_modules/umi-plugin-cache-route/lib/index.js initialize failed
Cannot read property 'keepalive' of undefined
最终结合两种方案一起才生效..
from alita.
现在umi项目 还不能使用对吧 Cannot read property 'keepalive' of undefined
from alita.
哦,可以使用的,就是嵌套路由互相跳转不生效,正在处理。
使用方法你要安装umi-plugin-cache-route
from alita.
嵌套路由互相跳转不生效,这个修改好了吗?
from alita.
还没有
from alita.
嵌套路由互相跳转不生效,请问是有技术困难?会准备搁置吗?还是在计划中?
from alita.
嵌套路由互相跳转不生效,请问是有技术困难?会准备搁置吗?还是在计划中?
目前项目比较忙,还未进行方案讨论,技术上的预想有一定难度
处于计划中,不会搁置
from alita.
#57
alita 项目直接更新到 1.3.0
umi 项目更新 [email protected]
增加命令用于撤销文件
alita keepalive --backups=true
自动处理了嵌套路由和动态路由
from alita.
太长了,还有问题的话,另开issues吧
from alita.
#64 [email protected] 会有一个报错警告。是什么原因。@xiaohuoni
from alita.
Related Issues (20)
- 关于 多标签页 和 缓存问题 HOT 6
- tabs-layout没有适配暗黑模式? HOT 10
- 升级 Umi 相关依赖的版本 HOT 4
- 在关闭其它标签页后自动切换到含有params的tab时,params会丢失 HOT 5
- 希望umi4多页签条宽度能自适应
- umi4 使用hd root节点的样式会被放大两倍 HOT 1
- qiankun,主应用开启tabsLayout会导致子页面重复渲染 HOT 1
- [建议] keepalive 生成加入 umi setup
- [bug] mobileLayout使用ant-mobile5时配置tabbar selectedColor, color不生效 HOT 1
- 请问如何在 create-umi@latest脚手架搭建的项目中使用keepalive 和 tabsLayout HOT 2
- keepalive如何在components/hooks外清空其他tabs HOT 2
- 你官方的加载也太慢了,能否调整一下 HOT 3
- BasicLayout warn
- 自定义 tabbar
- chalk 在浏览器打印图片怎么一直不显示呀 HOT 4
- keepalive问题 HOT 2
- 多标签页tabsLayout能否支持通过tabsLayout运行时单独设置Tabs的属性呢? HOT 1
- closeTab 方法报错,没有正确引入 message HOT 5
- 是否可以添加个属性修改tabBarExtraContent的按钮属性
- 自定义插件命令执行时,locale报错:AssertionError [ERR_ASSERTION]: Invalid config keys: locale
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alita.