You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tests written that will pass on my first render, but after I leave and come back, the args are different values, using a render function with useArgs
How can we reset or configure ignoring URL args altogether?
I would like to always use the defined args in the story, and I don't give a crap about keeping the state if I navigate away and come back.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I have tests written that will pass on my first render, but after I leave and come back, the args are different values, using a render function with
useArgs
How can we reset or configure ignoring URL args altogether?
I would like to always use the defined args in the story, and I don't give a crap about keeping the state if I navigate away and come back.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions