We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,刚刚踩了个坑,发现添加cache属性之后,路由切换总是会多出一个另一个组件的内容,比如每个页面内容是:
props=>[ <div>first{props.path}</div>, <div>second{props.path}</div> ]
你会发现切换之后没有同时隐藏掉第二个元素,也就是说,react-keeper只处理顶部root或者是数组的第一个,我觉得这个应该不算是bug,毕竟也没有哪个开发者会特意传一个数组给router当作route组件。 但是如果要实现 write route anywhere的话,这个可能不方便,因为传递数组理论上route也可以一起管理的,^_^
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,刚刚踩了个坑,发现添加cache属性之后,路由切换总是会多出一个另一个组件的内容,比如每个页面内容是:
你会发现切换之后没有同时隐藏掉第二个元素,也就是说,react-keeper只处理顶部root或者是数组的第一个,我觉得这个应该不算是bug,毕竟也没有哪个开发者会特意传一个数组给router当作route组件。
但是如果要实现 write route anywhere的话,这个可能不方便,因为传递数组理论上route也可以一起管理的,^_^
The text was updated successfully, but these errors were encountered: