react-keep-alive一个能够在 React 中使用的 <keep-alive> 组件,用于缓存组件状态,提升页面性能。Visit WebsiteView on GitHubGithub https://github.com/Sam618/react-keep-alive实现原理 https://juejin.im/post/5c8f6635f265da612254a9cd