Thursday, 16 May 2019

Created A State Management System For Objects - Lightweight and Straight forward

NPM: https://www.npmjs.com/package/vanilla-stateGithub: https://github.com/stevenferretti/vanilla-state#readme - Please star if you like concept, has a lot of maturing to do.A lot of projects over complicate state management. At the end of the day state management is really just the versioning and maintenance of an object. The beauty of Javascript is the fact that all objects are inherently pass by reference. Therefore, these objects can be passed to multiple areas of your application and their state can be handled via one easy to use state management service. Vanilla State is a class based system that can be implemented into any Vanilla, Angular, React, Vue etc service to handle the state of an object and be used as the entire state management system. The concept of Vanilla State doe s not follow the normal paradigm of state management, but rather simplifies it and makes it more practical.

Submitted May 16, 2019 at 08:50PM by taz7777777

No comments:

Post a Comment