I like know, how use window.localStorage without installing an adapter or addon. I need transition a token and email user for another route and I don’t like uso url params. I like put this data in localStorage and retrieve in the other route.
You could use a service for data you need to use between routes and to use localStorage it’s as simple as localStorage.setItem('key', JSON.stringify(value))
and JSON.parse(localStorage.getItem('key'))
2 Likes