我找到了几个说要设置的地方queryKey: false
,但是我找不到使用我正在使用的特定软件包进行设置的地方。这是我当前的设置:
import { hashHistory } from 'react-router'
import { syncHistoryWithStore } from 'react-router-redux'
import createStore from './store/createStore'
const store = createStore(initialState, hashHistory)
const history = syncHistoryWithStore(hashHistory, store, {
selectLocationState: (state) => state.router
})