📄️ enablePersist
The enablePersist module in Igris enables state persistence across page reloads and browser sessions. It provides flexible configuration options for storage management, migration, and state merging strategies.
📄️ setupHydrator
setupHydrator is a utility function in Igris that manages the hydration process for persisted stores and states. It's particularly useful when dealing with asynchronous storage solutions or when you need to coordinate the hydration of multiple stores before rendering your application.
📄️ Hydrator
The Hydrator component in Igris is a wrapper component that manages the hydration process for persisted stores and states. It provides a declarative way to handle hydration with loading states and ensures your application only renders after data is properly hydrated.
📄️ withHydrator
withHydrator is a Higher-Order Component (HOC) in Igris that wraps components with hydration capabilities. It provides the same functionality as the Hydrator component but in a HOC pattern, making it ideal for component-level hydration management.