@nanostores/alpine
v0.1.1
Published
Alpine.js integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores
Maintainers
Readme
Nano Stores Alpine
[Alpine.js] integration for [Nano Stores], a tiny state manager with many atomic tree-shakable stores.
- Small. Less than 1.2 KB (minified + brotli). Zero dependencies.
- Tree-shakable. Use only the parts you need: directive, magic, or component helper.
- Smart. Store subscriptions are created and cleaned up automatically.
- It has good TypeScript support.
<div x-data x-nano:user="$profile">
<header>Hi, <strong x-text="user.name"></strong>!</header>
</div>Docs
Read full docs here.
