Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sina-byn/re-hook
boilerplate code to publish your custom React hooks as fast as possible
https://github.com/sina-byn/re-hook
boilerplate boilerplate-template custom-hooks react react-hooks
Last synced: 1 day ago
JSON representation
boilerplate code to publish your custom React hooks as fast as possible
- Host: GitHub
- URL: https://github.com/sina-byn/re-hook
- Owner: sina-byn
- License: mit
- Created: 2024-02-13T10:49:39.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-13T11:11:29.000Z (9 months ago)
- Last Synced: 2024-02-14T13:34:51.310Z (9 months ago)
- Topics: boilerplate, boilerplate-template, custom-hooks, react, react-hooks
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# re-hook
Please consider following this project's author, [Sina Bayandorian](https://github.com/sina-byn), and consider starring the project to show your :heart: and support.
### Boilerplate code to publish your custom React hooks as fast as possible :rocket:
- Fork the repository
- start creating and writing your hooks inside `./src/hooks/`
- then export them from `./src/hooks/index.ts`
- configure `package.json` , `.npmignore` , `.gitignore`
- run `npm run build`
- run `npm publish`
- now your package is published to [npm](https://www.npmjs.com/)