Thanks for being willing to contribute 🙌 If you contribute to this project, you agree to release your work under the license of this project.
Working on your first Pull Request? You can learn how from this First Contributions guide.
- Fork and clone the repo
- Run
pnpm install
to install dependencies - Create a branch for your PR with
git checkout -b pr/your-branch-name
Tip: Keep your
main
branch pointing at the original repository and make pull requests from branches on your fork. To do this, run:git remote add upstream https://github.com/childrentime/reactuse.git git fetch upstream git branch --set-upstream-to=upstream/master masterThis will add the original repository as a "remote" called "upstream," Then fetch the git information from that remote, then set your local
master
branch to use the upstream master branch whenever you rungit pull
. Then you can make all of your pull request branches based on thismaster
branch. Whenever you want to update your version ofmaster
, do a regulargit pull
.
This library is a collection of React hooks so a proposal for a new hook will need to utilize the React Hooks API internally to be taken into consideration.
packages is divided into two parts.
packages
core/ - the core hook package
website-docusaurus/ - the document package
Before you start working, it's better to open an issue to discuss first.
You can write your tests first if you prefer test-driven development.
Feel free to enhance the existing functions. Please try not to introduce breaking changes.
Thank you again for being interested in this project! You are awesome!