Skip to main content

Concept

Ripple is a shared state management library for React. It is as simple as Recoil, and can be update via hooks or outside of React.

Ripple is made to let the components focus on the rendering, while allowing the update of the state to be done outside of React. This is useful for example when you want to update the state from a WebSocket event, or asynchronously from a Promise, maybe from a service class...

It is also possible to update the state from a React component, allowing even the update to be triggered from an High Order Component, using an appropiate hook.

We will explore all the ways in this documentation.