Hi. I've been struggling with this so I hope someone can help.
I have variable in local storage. I want to inspect its value and depending on that decide which page to go load. It must be a very common pattern, but I can't see how to do it.
e.g. user details. if undefined go to registration page otherwise go to other page
Any clues will be highly appreciated.
TIA
J