How to realize the keep-alive function of vue in Angualr4

in Vue-router, you can set keep-alive to keep components from being destroyed, which is good for recording user form submissions and multiple filters.

similar requirements are encountered in the angular4 project. Currently, we can only use a large number of caches combined with service as a means to store related content.

I would like to ask if there are relevant tools or ways to build similar functions in angular4.

Thank you


http://sfau.lt/b5V7Fx author: @ cipchk


[hidden] instruction to learn about

Menu