I am new to Angular and have a query regarding data persistent. I have a scenario where I have to persist data. I am on my homepage component where I have a personal details form which is reactive on /personaldetails path. User needs to fill data and click on the next button to move to the next page on the path /education where there is another form.
It may happen user feels he has to correct some data on personal details page. He clicks on back button and moves from /education to /personaldetails.
Here I want to persist data. I want that data in the input field to be as it is which was enter by user when he was on /personaldetails.
How can I achieve this?
Please share any working code or any reference which will help me. I tried searching similar queries but no luck.