Hi! We are really excited that you are interested in contributing to classic-react-hooks. Before submitting your contribution, please make sure to take a moment and read through the following guide:
git clone https://github.com/Ashish-simpleCoder/classic-react-hooks.git
cd classic-react-hookspnpm installpnpm buildpnpm testpnpm format-
Checkout a topic branch from a base branch, e.g.
main, and merge back against that branch. -
If adding a new feature:
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
- Add accompanying test case.
-
If fixing a bug:
- If you are resolving a special issue, add
(fix #xxxx[,#xxxx])(#xxxx is the issue id) in your PR title for a better release log, e.g.fix: update fetch logic (fix #3899). - Provide a detailed description of the bug in the PR. Live demo preferred.
- Add appropriate test coverage if applicable.
- If you are resolving a special issue, add
-
It's OK to have multiple small commits as you work on the PR - GitHub can automatically squash them before merging.
-
Make sure tests pass!
-
Use
pnpm formatto format files according to the project guidelines.
To contribute in the documentation, go to apps/doc directory
-
Run
pnpm installto install all of the dependencies -
Run
pnpm docs:devfor development of doc -
Run
pnpm docs:buildfor building the prodution version of doc -
Run
pnpm docs:previewto see the preview of doc