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

File Structure #10

Open
Joepock123 opened this issue Oct 22, 2020 · 0 comments
Open

File Structure #10

Joepock123 opened this issue Oct 22, 2020 · 0 comments

Comments

@Joepock123
Copy link

  • Great to see storybook up and running! No need to have the SB files in their own folder, they can sit next to their associated component wherever it lies.
  • The asset or 'atoms' folder is a great idea and a useful place to put the simplest components such as inputs, buttons etc. There's an interesting concept called atomic design which is useful for thinking about 'Component Driven UIs'. In our app we use a simple interpretation of it using atoms, molecules and pages.
    • Atoms: buttons, inputs
    • Which are used in the molecules: for example a component that renders a list of the user's projects
    • Which can be put together with other molecules to make more complex pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant