Components have many potential states (error, no data, etc)
Components have many potential states (error, no data, etc).
The easier it is to see every potential state, the more likely we are to account for each state.
So I:
-Write dumb components (accept all settings as props)
-Use Storybook to show each state
-Test each state
#reactjs
Here's a checklist I created for considering all potential component states.
Can you think of any states I'm forgetting?
