Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What do you want in next version 3? #64

Open
lanistor opened this issue Mar 4, 2018 · 7 comments
Open

What do you want in next version 3? #64

lanistor opened this issue Mar 4, 2018 · 7 comments

Comments

@lanistor
Copy link
Owner

lanistor commented Mar 4, 2018

Keeper is designing the next version: V3, what do you suppose to be added on?
Show your ideas, better with designment.

@Gesangs
Copy link

Gesangs commented Mar 9, 2018

记忆滚动位置

@lzd358194530
Copy link

页面缓存后的生命周期函数
类似vue的 activated deactivated 钩子函数

@miaosun009
Copy link

支持ts吧

@SOXISM-CHENG
Copy link

请问一下v3版本上线的大概时间?@vifird

@YugeCse
Copy link

YugeCse commented Jun 6, 2018

弱弱的问下,Control.go(routerPath, state), 这里的state不能传递function过去呢,例如:
Control.go('\detail', {aa: function(v){
console.log(v);
}});

@lanistor
Copy link
Owner Author

lanistor commented Jun 7, 2018

@YugeCse 这个是不可以的,Control.go内部调用的是history.pushState,在pushStage中function无法被clone,所以无法作为状态存储和恢复。当然也不建议这么做,状态应该是Pure的。

@YugeCse
Copy link

YugeCse commented Jun 7, 2018

谢谢,那这该如何实现呢?
那么在CacheLink或Link跳转下怎么做呢?
A -> Link -> B, B -> 关闭 -> A页面响应刷新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants