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([ new State("foo", true), new State("bar", false),]); Copy
createStore([ new State("foo", true), new State("bar", 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.