A function for creating a state store. State stores are appended to Rewright's global state store. These objects are helpful for defining multiple stateful objects in Rewright that are accessible across multiple classes.
the stateful objects to append to the global state store.
createStore([ { name: "foo", value: true, }, { name: "bar", value: false, }]); Copy
createStore([ { name: "foo", value: true, }, { name: "bar", value: false, }]);
A function for creating a state store. State stores are appended to Rewright's global state store. These objects are helpful for defining multiple stateful objects in Rewright that are accessible across multiple classes.