腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(753)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
React-Router-Redux
:在“
react-router-redux
”中找不到导出“syncHistoryWithStore”
我一直在尝试将Redux集成到我的应用程序中,但在使用
React-Router-Redux
5.0.0-alpha.6时遇到了问题我还查看了
react-router-redux
包内部,似乎没有任何syncHistoryWithStore的迹象。react-router' import { ConnectedRouter, routerReducer, routerM
浏览 1
修改于2018-08-23
得票数 9
2
回答
使用
react-router-redux
访问params
我正在使用
react-router-redux
()npm install --save react-router-redux@next<Route path='/resourcestate, ownProps) => { return {...state.resource, id: ownProps.params.id}如
react-router-redux
浏览 1
提问于2017-04-24
得票数 7
回答已采纳
1
回答
react-router-redux
推送的重要性
我在我的项目中使用了
react-router-redux
push,但不确定我的团队为什么要在actionsToProps中使用它。有什么特别的好处吗?在actionsToProps中推送工作正常 registerUser在没有推送的情况下,actionsToProps也可以正常工作 import {push} from '
react-router-redux
浏览 1
提问于2018-01-25
得票数 1
1
回答
react-router-redux
- syncHistoryWithStore似乎缺失
我下载了一个react路由器和redux教程(如果你知道的话,可以从下载)并试用它。我想把我的代码复制到facebook ()的标准应用程序中。尽管我安装了所有的依赖项,但我没有让它工作。我对npm和类似的东西非常陌生,来自普通的html。有没有一种聪明的方法来跟踪我的问题,检查我丢失的依赖关系,或者采取任何措施来解决这样的问题?
浏览 0
提问于2017-04-13
得票数 1
1
回答
react-router-redux
不会更改内容/视图
我将
react-router-redux
设置为这个。但是dispatch(push(url))不会改变内容/视图,也不会改变地址栏上的url。Router, Route, browserHistory, IndexRoute } from 'react-router';import { connect }
浏览 2
修改于2016-09-04
得票数 0
回答已采纳
1
回答
如何在
react-router-redux
中扩展主模板?
我正在使用
react-router-redux
。我有一个常量页眉,页脚和左栏的主模板。我可以将这个主模板扩展到不同的路由器吗?谢谢。
浏览 0
提问于2017-05-26
得票数 0
5
回答
react-router-redux
,推送方法不起作用
我正在使用
react-router-redux
。a-href工作正常。@ 现在,推送方法不起作用。
浏览 3
修改于2017-03-15
得票数 2
1
回答
React-router-redux
推送操作不起作用
takeLatest, put, call } from 'redux-saga/effects';import { push } from '
react-router-redux
error.message); }我刚刚安装了
react-router-redux
浏览 0
提问于2018-02-14
得票数 3
1
回答
react-router-redux
5:跨导航维护商店状态历史
/history'import {ConnectedRouter} from "
react-router-redux
"; import history from '.
浏览 10
修改于2018-02-28
得票数 0
回答已采纳
1
回答
react-router-redux
将历史记录传递给中间件
createStore, applyMiddleware, compose, combineReducers } from 'redux' compose(applyMiddleware(...middleware))middleware.js import { routerMiddleware } from '
react-router-redux
from 'react-do
浏览 1
提问于2017-10-22
得票数 1
1
回答
React-Router-Redux
/ Sagas / Push未定义
当我尝试使用
react-router-redux
5.0.0-alpha.9时,我被一个Saga中发生的错误卡住了。import { push } from '
react-router-redux
';import { call,
浏览 1
提问于2018-05-16
得票数 1
3
回答
react-router 4.0,react-router-dom和
react-router-redux
有什么不同?
我对react-router 4.0比
react-router-redux
的优点感到困惑。我也被react-router-dom搞糊涂了。
react-router-redux
、react-router 4.0和react-router-dom的优缺点是什么?
浏览 1
修改于2019-11-22
得票数 36
回答已采纳
2
回答
路由不适用于
react-router-redux
操作
使用
react-router-redux
中的routeActions不起作用,url已更改(),但视图仍然相同(主页)或显示错误,如果我通过url转到页面例如: localhost:3002/addCity
浏览 13
提问于2016-02-07
得票数 3
0
回答
react-router-redux
:路由更改,但不显示组件
我正在尝试使用带有Immutable.js reducers的
react-router-redux
来设置路由。import { browserHistory } from 'react-router' import { routerMiddleware, syncHistoryWithStore } from '
react-router-redux
浏览 4
提问于2016-12-24
得票数 0
回答已采纳
1
回答
在组件生命周期内重定向
react-router-redux
推送
所以我有一个本地化的网站,并需要在某些情况下重定向路由。例如,如果用户的UI设置为西班牙语,并转到mysite.com/about,则需要将其重定向到mysite.com/es/about。{Object.values(UILanguages).map(locale => { <Route path={`${locale.basepath}`} key={locale.basepath} locale={locale} component={App} statu
浏览 3
修改于2017-01-09
得票数 0
2
回答
来自
react-router-redux
的ConnectedRouter不支持子道具
而在React路由器v4中受支持, 使用
react-router-redux
浏览 0
提问于2017-08-01
得票数 0
0
回答
react-router-redux
syncHistoryWithStore崩溃/通过react-router的状态
所以现在我尝试使用
react-router-redux
来同步它们。redux-devtools-extension';import { syncHistoryWithStore } from '
react-router-redux
希望你能帮助修复
react-router-redux
,或者以某种方式传递状态。:)
浏览 5
提问于2017-01-05
得票数 2
回答已采纳
1
回答
如何避免两次重定向(
react-router-redux
)?
Route, Redirect } from 'react-router-dom'; import { ConnectedRouter, routerMiddleware, push } from '
react-router-redux
浏览 3
修改于2017-07-30
得票数 3
回答已采纳
2
回答
使用Redux-Persist和
React-Router-Redux
查询参数丢失
code=AUTH_CODEimport { Router, browserHistory } from 'react-router' import { syncHistoryWithStore } from '
react-router-redux
浏览 0
提问于2018-01-27
得票数 0
1
回答
react-router-redux
推送与redux-batched action不兼容?
示例:import { batchActions } from 'redux-batched-actions';
浏览 4
修改于2018-07-19
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券