-
Notifications
You must be signed in to change notification settings - Fork 3
How should we support static html in storybook? #16
Comments
Good question. Also, Im not sure if supporting static html structures should be in the scope of library 🤔 Any thoughts? @a-axton @jesseocon |
We could have two root sections for static/react using this https://storybook.js.org/basics/writing-stories/#nesting-stories |
@a-axton I think that's right on the money. There will be a lot of things that are simply foundational to build apps that aren't necessarily React components, but still need to be in here (grid, typography, CSS util classes). |
I did a little bit of digging, and to add some more structure to the navigation (and better segment non-React UI from the actual components) I think it'd be a good idea to make use of the My proposal for initial high level organization:
|
@jstnjns I love it. This way we can keep only one storybook and differentiate between non-react and React components using two high levels |
It would be good to create a new folder inside the |
Fixed with #53 - if we want additional features (like actual subfolders in addition to UI subfolders), we should re-create this issue. |
Should we make separate stories for the react components vs static components?
The text was updated successfully, but these errors were encountered: