DEV Community

Rafael De Leon
Rafael De Leon

Posted on

🚀 react-hook-use-cta v2 Release! 🚀

The React hook for managing complex state with custom actions, state history tracking, and type safety has been release to the masses.

Along with a brand new documentation website with Codesandbox examples to let you play around with the hook.

Visit https://rafde.github.io/react-hook-use-cta/#intro

Some info on why I started this project.
In order to improve my skillset, I decided to create a little react hook library of a pattern I often created in past React projects. Also, I wanted to challenge my Typescript knowledge, learn how to publish open source packages, and improve on my documentation.

This project helped me learn all of that and then some. The results lead me to want to publish some topics that I hope will help future people looking to create their own open source library. I will make more post on my journey to v2.

In the meantime, maybe react-hook-use-cta v2 can help simplify your React state management.

npm i react-hook-use-cta
Enter fullscreen mode Exit fullscreen mode
yarn add react-hook-use-cta
Enter fullscreen mode Exit fullscreen mode
deno add jsr:@rafde/react-hook-use-cta
Enter fullscreen mode Exit fullscreen mode

Happy New Year!

Top comments (0)