https://ncn-ends.github.io/ncn-utils/
- Using
Storybook
to develop components in isolation - Using
jest
for unit tests - Using
react-hooks-testing-library
to test custom hooks - Using
swc
for the compiler because it's faster than babel and the default jest compiler - Using
Typedoc
to generate documentation, but looking for better options - Using
husky
for git hooks
- Absolutely minimal 3rd party dependencies
- Maximum compatibility
- Maximum reuseability
- Tooltip
- Timeline
- Toast
- useDetectClickOutside
- Detects if a click action was taken outside of a component
- useful for modals that should be closed when clicked outside
- Detects if a click action was taken outside of a component
- Install dependencies at project root
npm install
- Set up husky hooks
npm run prepare
- Initialize MSW
npm run msw:build
- Start Storybook server
npm run storybook:run
- Run tests
npm run test