Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在dva中使用redux-immutable #924

Closed
not3 opened this issue May 20, 2017 · 3 comments
Closed

如何在dva中使用redux-immutable #924

not3 opened this issue May 20, 2017 · 3 comments

Comments

@not3
Copy link

not3 commented May 20, 2017

import {
  combineReducers
} from 'redux-immutable';

import {
  createStore
} from 'redux';

const initialState = Immutable.Map();
const rootReducer = combineReducers({});
const store = createStore(rootReducer, initialState);```

怎么替换combineReducers,怎么使用immutablejs,有示例吗
@pengfeiWang
Copy link

还是希望能尽快推出 dva + immutable 吧

@longlongago2
Copy link

longlongago2 commented Jun 6, 2017

react-native 如何加调试工具remote-redux-devtools
`
import { composeWithDevTools } from 'remote-redux-devtools';

const store = createStore(
rootReducer,
initialState,
composeWithDevTools(
applyMiddleware(sagaMiddleware),
),
);

`

@MinJieLiu
Copy link

MinJieLiu commented Jun 23, 2017

关注这个pr-1002

@sorrycc sorrycc closed this as completed Sep 2, 2017
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

No branches or pull requests

5 participants