keplerGlReducer
imported from kepler.gl/reducers
KeplerGl
imported from kepler.gl
combineReducers
), it will then managers ALL KeplerGl component instances that you add to your app. Each kepler.gl instance state is stored in a instance reduccer.visState
, mapState
, mapStyle
and uiState
. Each of them managers a piece of state that is mostly self contained.updateVisDataUpdater
, layerConfigChangeUpdater
, setFilterUpdater
, interactionConfigChangeUpdater
.updateMapUpdater
, toggleSplitMapUpdater
and togglePerspectiveUpdater
.visState
, mapState
, mapStyle
and uiState
- are assembled by a list of action handlers, each handler mapped to a state transition function named xxUpdater. For instance, here is a snippet of the map state reducer in kepler.gl:QUERY_SUCCESS
and call updateVisDataUpdater
to load data into kepler.gl.