-
-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop with storybook #2882
Develop with storybook #2882
Conversation
Since Google Maps Script can be loaded only once, load it in a global decorator for all components.
By resolving @react-google-maps/api from source, any changes made to source will reflect in storybook stories, both for core components and gatsby examples.
- Handle loading status - Use type script in config file to avoid invalid parameters - Update README
Hi @JustFly1984, this should be quick and easy to test. Let me know what do you think before I invest more time 😃 |
@mradenovic I will look into your PR this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@mradenovic There is very minimal maintenance of storybook. I see that a lot of dependencies are not supporting react@17, hence will prevent us from easy react@18 support in the future, or require to dig into storybook itself, which could be an unpaid nightmare.
|
I see what you mean. I checked the storybook repo and there is an issue about this which they are trying to resolve. I would keep it while it works. What would be the other workflow to hot reload components while you work on them? |
I have noticed that Storybook was removed recently. When I checked the code and how it was implemented I understand why.
This approach should improve the following: