The class Conan contains the following methods:
light is the method we use to create a simple Conan State without passing reducers and actions
Input Params
name
Type: string required
string
required
the name we want to use for this state
initialData
Type: DATA
DATA
the initial data we want to have when the state is created
nature
Type: FlowEventNature
TBC: Que mierdas es esto Alberto?
Returns
ConanState
The newly created state
state is the method we use to create a Conan State when we need to add extra reducers and or actions
Params
data
Type: StateDef required
StateDef
the StateDef object that contains our custom actions and reducers
Return type
Last updated 5 years ago
Was this helpful?