1.0.2 • Published 8 months ago

@hapio/hapio-ui-state-manager v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Hapio State Manager

This project is a state manager built with zustand that handles localStorage persistence and TypeScript-based typing for Hapio Booking Flow for React.

Features

  • State Management: Centralized state store using zustand.
  • LocalStorage Persistence: State changes are persisted locally.
  • Type Safety: Full TypeScript support with well-defined types and interfaces.
  • Modular Slices: Each app domain (services, locations, resources, etc.) is managed through separate zustand slices.

Installation

Install package with your favorite package manager

npm install @hapio/hapio-state-manager-react
yarn add @hapio/hapio-state-manager-react

FAQ

Q: Is Hapio free to use? A: Hapio does have a free plan with no card details required! Read more about our pricing here.

Q: Can I use the state manager without Hapio Booking Flow? A: Yes you could use just the state manager with your own frontend components.

Resources

Contribution

Contributions are welcome!

Please open an issue or submit a pull request for improvements or bug fixes. Security fixes will be recognized in our Hapio Hall of Fame.