From the root of the project run yarn new
. This should start the process to create a new hook and set up the package.
Make sure you have Yarn package manager installed globally on your machine.
From the root of the project:
- run
yarn install
- run
yarn run build
- run
yarn run dev
When adding a new hook, please make sure that
-
All hooks must contain example sandboxes and test cases
-
Readmes must contain usage snippets, codesandbox JSX embeds, arguments in a table format and must contain return values