implenton/

Global state management for Alpine.js

The new version of Alpine.js introduces the Alpine.store, which replaces this library. Consider this recommendation outdated.

Spruce recently hit version 2. If you are not familiar with it, it's a global state management library for Alpine.js. Currently, the go-to solution if you want to share data between components.

The major update comes with breaking changes, but the update is well worth it; it's an improvement over the previous version.

2020-12-15