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
<KeepAlive />
Same as react-keep-alive
But fixed some of the issues in StructureBuilder/react-keep-alive#36
Pass the children attribute of <KeepAlive /> to <AliveScope /> and render it with <Keeper />
children
<AliveScope />
<Keeper />
After <Keeper /> rendered, the content is transferred to <KeepAlive /> through DOM operation.
Since <Keeper /> will not be uninstalled, caching can be implemented.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implementation of
<KeepAlive />
for ReactSame as react-keep-alive
But fixed some of the issues in StructureBuilder/react-keep-alive#36
Principle
Pass the
children
attribute of<KeepAlive />
to<AliveScope />
and render it with<Keeper />
After
<Keeper />
rendered, the content is transferred to<KeepAlive />
through DOM operation.Since
<Keeper />
will not be uninstalled, caching can be implemented.Related Resource
The text was updated successfully, but these errors were encountered: