Refactor components for development in isolation #534
mradenovic
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just spent some time with
storybook, and it would be great not to have to start dev server, connected to dev backend, behind the firewall, away from airplane/train/favorite-park-bench. 😄A component that can not be tested in an isolated environment is probably poorly designed. Using
storybookwould enforce some good practices.I started working on it in #533. The process and tooling can be adjusted as needed when new problems are encountered.
storybookwith better options.storybook(improve as need arises).useEffectearly and high in hierarchy (e.g., dispatchgetUserQueus()when user logs in and after queue iscreated/deleted, read stateMyQueues).storybookaliases.README.mdwith short instructions on how to usestorybookand properly define components (include some of the above).Beta Was this translation helpful? Give feedback.
All reactions