yobgob / too-many-hooks

Opinionated collection of typed React hooks
https://yobgob.dev/too-many-hooks/
Apache License 2.0
3 stars 5 forks source link

Move storybook to same project as package #69

Closed dawsonbooth closed 5 months ago

dawsonbooth commented 1 year ago

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.