Skip to content

Main structure

Michael K edited this page Apr 16, 2018 · 3 revisions

Main code structure:

  1. Redux Provider
  2. Persist Gate
  3. Connected Router
  4. Main Application

Store:

  1. Middleware: History + Thunk
  2. PersistedReducer
    • PersistConfig
    • Combine: All stock reducers, Router reducer, Form reducer
  3. ComposeEnhancers: Redux DEV tools || compose

Store: PersistedReducer + ComposeEnhancers(Middleware)

Persistor: persistStore(Store)

Clone this wiki locally