@coaction/ng
v3.0.0
Published
A Coaction integration tool for Angular
Downloads
338
Readme
@coaction/ng
A Coaction integration tool for Angular.
Installation
Install it with pnpm:
pnpm add coaction @coaction/ngUsage
import { create } from '@coaction/ng';
const store = create((set) => ({
count: 0,
increment() {
set((draft) => {
draft.count += 1;
});
}
}));
const count = store.select((state) => state.count);
console.log(count());Documentation
You can find the documentation here.
