Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

where should i put my enhancers? #24

Closed
Assignees
navneet-g
Labels
How toIssues that ask How to do something in redux-dynamic-modules
@geminiyellow

Description

@geminiyellow

hi all, i use redux'screateStore andcompose like this

constenhancers=[firebaseEnhancer,middlewareEnhancer,offlineEnhancer];constcreateEnhanceStore=compose(...enhancers)(createStore);exportconstcreateReduxStore=(initialState)=>createEnhanceStore(makeRootReducer(),initialState);

and inredux-dynamic-modules , i check the code, i can putmiddleware in a new extension likeredux-dynamic-modules-thunk , but where i should put the other enhancers?

theModuleStore only compose middleware ,

https://github.com/Microsoft/redux-dynamic-modules/blob/10e7526f037dba0f1260a913f241504ea41f51ad/packages/redux-dynamic-modules/src/ModuleStore.ts#L43

am i wrong ?

Metadata

Metadata

Assignees

Labels

How toIssues that ask How to do something in redux-dynamic-modules

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp