My question is, do I want to pass the id from one page to another page? without using Routing and local storage. if we stored in the service file, once refresh the page. it is collapsed, so, please tell me the possible ways.
Thanks
There are many ways by which you can have state management and share your state across different components
But all this ways will lose the data when you reload the page, so to handle that situation you have to take additional steps
You can also leverage your backend for storing data based on your application requirements
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.