I love the concept that component libraries like Tailwind UI, daisyUI or shadcn/ui have popularized: copying predefined components and then pasting them into your code.
With Nova.js I do the same, but for React hooks: just copy the hook and paste it into your project.
However, each hook fulfill with the following:
- It cannot have dependencies
- Be compatible with the oldest possible version of React
- Provide both TypeScript and JavaScript code
This way it is ensured that no matter what project you work on, all the hooks will work for you.
I also created a CLI so that hooks can be added from the terminal to the project without installing dependencies to it.
I hope you find Nova.js very useful and don't forget to leave it a star on GitHub!
Final Countdown JS