Skip to content

Move NavSection to Redux#21

Merged
simba-git merged 4 commits intodevelopfrom
feature/simba/redux-base
Jul 22, 2020
Merged

Move NavSection to Redux#21
simba-git merged 4 commits intodevelopfrom
feature/simba/redux-base

Conversation

@simba-git
Copy link

NavSections is moved into ReduxState to allow it to be dynamically set
and changed according to the context that StreamSQL is deployed.

This commit also adds ReduxWrapper which wraps the underlying children
with Redux context and a default ReduxStore.

Simba added 4 commits July 21, 2020 22:54
We will use redux to keep track of app state.

Redux-toolkit is an opinionated wrapper over redux which makes typical
redux patterns much simpler to implement.
Currently it has no state or reducers attached.
In the future, there may be logic to change the Nav sidebar based on
the context (local, hosted, managed) and if the user is paying or not.
NavSections is moved into ReduxState to allow it to be dynamically set
and changed according to the context that StreamSQL is deployed.

This commit also adds ReduxWrapper which wraps the underlying children
with Redux context and a default ReduxStore.
@simba-git simba-git merged commit 1b8531f into develop Jul 22, 2020
@simba-git simba-git deleted the feature/simba/redux-base branch July 22, 2020 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant