0.2.2 • Published 4 years ago

@lxsmnsyc/preact-scoped-model v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@lxsmnsyc/preact-scoped-model

Scoped Model pattern in Preact (but with Hooks)

NPM JavaScript Style Guide

Features

  • Contextual State: Inject state into your component tree.
  • Composition: Write states as if you are writing components, use Preact Hooks to compose state logic.
  • Granular control: Only watch updates you need, not when the whole state updates.

Install

npm install --save @lxsmnsyc/preact-scoped-model
yarn add @lxsmnsyc/preact-scoped-model

Documentation

License

MIT © lxsmnsyc

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago