3.0.0 • Published 3 years ago

preact-scoped-model v3.0.0

Weekly downloads
20
License
MIT
Repository
github
Last release
3 years ago

preact-scoped-model

Scoped Model pattern in Preact (but with Hooks)

NPM JavaScript Style GuideOpen in CodeSandbox

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 preact-scoped-model
yarn add preact-scoped-model

Documentation

License

MIT © lxsmnsyc

3.0.0

3 years ago

2.0.7

4 years ago

2.0.5

4 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

0.7.0

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.5.1-alpha.11

4 years ago

0.6.0

4 years ago

0.5.1-alpha.9

4 years ago

0.5.1-alpha.7

4 years ago

0.5.1-alpha.8

4 years ago

0.5.1-alpha.6

4 years ago

0.5.0

4 years ago

0.4.0

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago