useParams() not changing when switching pages?
i'm getting really odd behavior
"Params" only gets printed once, when going to the dynamic route for the first time. after that it stops changing. any idea?
3 Replies
You've got to access a property on the params object for it to track
Such as:
params.id
ah i see. that works now
thanks
question, do history.back()/history.go(...) play nicely with solid router? or do they cause bugs?
AFAIK they should play nicely
I haven't actually tested myself before