GitHub package.json versionTypeScriptNPM
GitHub package.json versionTypeScriptNPM

Change Stream Store

What is the change stream store?

An Eagle Eye context store is the client's portal into the context's underlying state.

It exposes 3 properties namely:

1.data: which is an object holding resolved state slices as declared in the selector map. See selector map to store data example here

2.resetState: (propertyPaths?: Array<string>) => void // resets slices of state referenced by the property paths to their initial values.

3.setState: (changes: Changes<State>) => void // merges only new/changed state slices.