A hooks library for to help you with your developments with React library
Install dependencies
npm install # or yarn install
The recommended workflow is to run TSDX in one terminal:
npm start # or yarn start
This builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
To do a one-off build, use npm run build
or yarn build
.
To run tests, use npm test
or yarn test
.
- useToggle
- useCounter
- useField
- useClipboard
- useFirebaseFirestore
- useFirebaseStorage
- useFirebaseProfile
Jest tests are set up to run with npm test
or yarn test
.
Calculates the real cost of your library using size-limit with npm run size
and visulize it with npm run analyze
.
@cmglezdev: Carlos Manuel González Peña