Skip to content

Development guidelines

Francesco Zaia edited this page May 6, 2019 · 1 revision

Developing a new component means creating a single source of truth on how to add React components to your app. Due to that, JSX code that will have to be written has to be as simple and clear as possible. For example, creating a "breadcrumb" component should be as easy as adding a container and a series of breadcrumb items, hiding the HTML complexity behind that. Something like this:

<Breadcrumb>
  <BreadcrumbItem/>
  <BreadcrumbItem/>
  <BreadcrumbItem/>
</Breadcrumb>

In order to get some insights and tip on Storybook 5.0, you can read the following articles:

Also, keep an eye on the official Storybook publication on Medium.

Inspiration:

Clone this wiki locally