Options set via addon should not override URL params
See original GitHub issue- Run
yarn startin repo root - Toggle actions panel with
⌘ ⇧ D - Reload the page
Expected: Actions panel stays hidden Actual: It is hidden for a moment, and then shows up
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Ability to pass URL parameters to stories · Issue #6133 - GitHub
We're using URL parameters in many of our components, e.g ?mock=true. However, storybook (v5.0.2) discards all the additional URL parameters ...
Read more >How to get storybook addon options - Stack Overflow
2 Answers 2 · If a developer use my addon, would he be able to override this parameter? · Parameters are defined by...
Read more >Modify Query Params - Requestly
Insert, Modify or Delete query parameters for URLs (or matching pattern)
Read more >chrome_settings_overrides - Mozilla - MDN Web Docs
To override new tabs, use "chrome_url_overrides" instead. This is a localizable property. ... Defines a search provider to add to the browser. The ......
Read more >Query Parameters - Routing - Ember Guides
Query param values are cast to the same datatype as the default value, e.g. a URL change from /?page=3 to /?page=2 will set...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh, so it’s inside story render. Ok, I think my suggestion may be restricted to
setOptionsin global setup. I think it would be enough to runinitApibefore handling routing (and setting only the explicitly present params in the latter)Will fix it as part of https://github.com/storybooks/storybook/issues/2313