DEV Community

Rafael De Leon
Rafael De Leon

Posted on

1

πŸš€ 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!

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)