This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@giveback007/proxy-state
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

"My application is too small to use redux && I'm ok on mutating state"

A simple state management library using ES6 proxies. Its as easy as assigning a value to the object, even deeply nested properties.

Creates an object that fires off the subscriptions on any changes made to the object.

obj.state.addAProp = {}; // This will trigger

...

obj.state.addAProp.nestMe = { a: 6 }; // This will trigger

...

obj.state.addAProp.nestMe.a = 7 // This will trigger

Readme

Keywords

none

Package Sidebar

Install

npm i @giveback007/proxy-state

Weekly Downloads

15

Version

1.2.4

License

ISC

Unpacked Size

14.1 kB

Total Files

22

Last publish

Collaborators

  • giveback007