Predictable state management for ember apps
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Ember.js flavored changesets, inspired by Ecto
Ember State Services is an addon that introduces a state management pattern for ambitious Ember.js applications. It addresses the gap between long-term singleton controller state and short-term ephemeral component state, preventing state loss and leakage in complex UI interactions. ## Key Features - **Reference-Keyed State** — Provides a unique state object per reference key (like a model), isolating state between instances. - **Medium-Term State Management** — Offers state that persists beyond component destruction but doesn't leak between different model instances, ideal for scenarios like unsaved form edits. - **Flexible State Objects** — Allows definition of custom state objects with initial state and integration with tools like `ember-buffered-proxy`. - **Computed Property Integration** — The `stateFor` helper returns a computed property that automatically provides the correct state object based on a changing reference. ## Philosophy The addon is designed to provide a safe and easy middle-ground solution for state that needs to outlive a component's lifecycle but should remain private and isolated to specific model references.
An Ember Proxy the enables change buffering