react-keeper icon indicating copy to clipboard operation
react-keeper copied to clipboard

A routing library of React.

Results 57 react-keeper issues
Sort by recently updated
recently updated
newest added

React 16 目前已经支持直接渲染文本,在使用Route的时候不支持这种写法 component 示例: ``` jsx class Example extends React.Component{ render(){ return 'example' } } ```

npm start 运行后 报错如下 TypeError: Cannot read property 'location' of undefined 路由版本为 "react-router": "^4.3.1"

Hi,刚刚踩了个坑,发现添加cache属性之后,路由切换总是会多出一个另一个组件的内容,比如每个页面内容是: ``` props=>[ first{props.path}, second{props.path} ] ``` 你会发现切换之后没有同时隐藏掉第二个元素,也就是说,react-keeper只处理顶部root或者是数组的第一个,我觉得这个应该不算是bug,毕竟也没有哪个开发者会特意传一个数组给router当作route组件。 但是如果要实现 write route anywhere的话,这个可能不方便,因为传递数组理论上route也可以一起管理的,^_^

设置路由 localhost:3000/my 访问 前后随便输入什么 localhost:3000/dfdsf/my/fdsfds 还可以访问到my 怎么做精确匹配 ?

有个path 是 "/video/:id" 这种样式的. 1. 函数内跳转方式 目前查到只有Control.go()可以,但是这样就不能缓存页面了 2.就题目1,从"/video/1"使用了Control.go("/video/2"),但是页面没有变化 请问下,有什么办法可以解决跳转和缓存问题, (看到3.0会支持,但是我现在已经用了react-keeper了),不然要改用别的框架了/(ㄒoㄒ)/~~

发现一个问题。我使用了react-keeper后。页面跳转使用的是Control.go。 当我打开我的站点后。跳转到其他页面。通过IOS微信右上角分享出去后。外面打开分享出去的页面始终是我第一次打开这个站点的页面。但是在android是正常的。当我把站点切换成react-router后又正常了。是不是因为react-keeper的缓存机制。实际上路由切换没有刷新页面。导致微信浏览器以为还是之前的页面。所以分享出去的页面都是第一次打开站点的页面。

Hi everyone, I'm willing to implement scroll position if someone can point me the right direction.

如果有TypeScript类型声明,在TS项目里可以更方便地使用 :)

我在B页面做了cache ,先从A页面go到B页面,可以触发所有的生命事件,然后B页面跳到其他页面,再跳回B页面,就不会触发任何生命周期事件了

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

enhancement