に反応Baqendで:、私はまだこの自分自身を試していないhttps://www.baqend.com/guide/starter-kits/react/使用Reduxの-永続誰でもスターターキットから店に<a href="https://github.com/rt2zz/redux-persist" rel="nofollow noreferrer">https://github.com/rt2zz/redux-persist</a> をReduxのは、存続追加する方法を知っています/ Reduxのスターター
import { applyMiddleware, combineReducers } from 'redux'
import { createStoreWithBaqend, baqendReducer } from 'redux-baqend'
import middlewares from '../middleware'
import reducers from '../reducers'
import { db } from 'baqend'
export default (initialState = {}) => {
const reducer = combineReducers({
baqend: baqendReducer,
...reducers
})
const middleware = applyMiddleware(
...middlewares
)
return createStoreWithBaqend(
db.connect('remarkable-apple-XX', true),
reducer,
initialState,
middleware
)
}