Skip to content
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

Set up Storybook #28

Open
with-heart opened this issue Mar 5, 2021 · 3 comments
Open

Set up Storybook #28

with-heart opened this issue Mar 5, 2021 · 3 comments

Comments

@with-heart
Copy link
Contributor

Storybook allows us to:

  • document components in a visual manner
    • as component library grows, so too does component discoverability
  • develop components independently from the application
    • better dev workflow
    • pushes components to be more abstract (general purpose rather than feature-specific)
@nihaals
Copy link
Member

nihaals commented Apr 2, 2021

Using Mock Service Worker seems to be the nicest way of handling components that do API requests and will also make developing components that are blocked by a lack of an API endpoint easier.

@nihaals
Copy link
Member

nihaals commented Apr 2, 2021

Related: chakra-ui/chakra-ui#3586

@nihaals
Copy link
Member

nihaals commented Apr 4, 2021

#84 adds an initial setup but does not include msw or any of the components that fetch from the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants