Storybook support for Nova GraphQL
kerrynf opened this issue · 1 comments
kerrynf commented
Apollo has an addon for Storybook: https://storybook.js.org/addons/storybook-addon-apollo-client/
We should provide similar functionality for components built with the Nova facade.
- loading state
- error state
- mock data inputs for various queries
kerrynf commented
Additional notes: addons can generate decorators that can wrap the stories without explicit configuration: https://storybook.js.org/docs/react/addons/configure-addons