Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)