Often times, the storybook app is integrated directly into the package project, allowing one to write Component.stories.tsx files alongside the Component.tsx file. This has the advantage of co-locating stories with their respective components (or in our case hooks).
This component library template is similar to our library in the tech it uses, though the repo is structured a bit differently. Among the differences includes merging the storybook and package projects.
Often times, the storybook app is integrated directly into the package project, allowing one to write
Component.stories.tsx
files alongside theComponent.tsx
file. This has the advantage of co-locating stories with their respective components (or in our case hooks).This component library template is similar to our library in the tech it uses, though the repo is structured a bit differently. Among the differences includes merging the storybook and package projects.