Additional debugging information
Last updated
Was this helpful?
Last updated
Was this helpful?
To get better understanding on what is changing what react-state-rxjs
supports state messages
or actionType
. In order to set additional debugging information you need to pass an object as a third parameter to store.update
method.
Complete message would look like:
'${statePath} - {message || actionType}'
Some functions has their default actions which are set if not overridden from actions
store.update - ActionType.Update
store.reset - ActionType.Reset
These action types available out of the box
Update
Reset
Insert
Delete