Storing a list of urls to be navigated through later
I'm looking for a bit of direction on how to store a list of, ideally, typesafe locations that I can fetch and
navigate
through. Worst case scenario I just serialize entire LinkProps
objects and disable type checking for the line but I imagine there's a better way. I checked all the functions being exported and none of them seemed like they fit the bill, but it must exist where the lib parses the window href into matchable json
For context this is a react SPA with no ssr2 Replies
conscious-sapphire•2mo ago
Maybe
linkOptions
is what you're looking for?probable-pinkOP•2mo ago
That looks like the answer, thanks. It could probably go for a rename with a verb in it somewhere, it blends in with the tens of similar sounding interfaces