createStore
Method for creating a store
Arguments
defaultState(State): Default stateconfig(Object): Optional configurationname(String): Name for the store. Babel plugin can set it from the variable name, if not passed explicitly in config.updateFilter(Function): Function which prevent store from update when returnsfalse. Accepts update as first argument and current state as second argument. Redundant for most cases since store already ensure that update is notundefinedand not equal (!==) to current state (sinceeffector 21.8.0)
Returns
Store: New store