Open usulpro opened 7 years ago
@mnmtanish Is there anything we could do about this. I hope this is something related to core Storybook UI.
The name is set by sending a message over the channel at the moment. I see 2 possible ways to avoid that and fix this issue right now:
setOptions
from addons.js fileI prefer the first option because we can avoid adding more stuff to npm script line on the package.json file. The addons.js file usually stays out of the way so adding code we don't change often there is not an issue.
I also don't like the env vars.
Using addons.js
is a good idea for now.
Is this solution related to https://github.com/storybooks/react-storybook/issues/604?
@UsulPro I don't think it's directly related.
Can I get an example of doing this using the addons.js file option? I've given it a try but don't see it working for me.
Thanks!
@christophior unfortunately this delay is still present
when set option
it displayed with a slight delay, during which present title "React Storybook". This is repeated each time the page is refreshed