试图创建一个带有默认历史对象的普通路由器,但是它抛出了这个错误-
import history from '.history/createBrowserHistory'
我也尝试了中提到的解决方案,但是现在它根本没有呈现App,并且在控制台中得到了下面的错误未定义的TypeError:无法在路由器上读
当发生错误时,我试图在redux操作中重定向。我尝试过设置react路由器-redux,但是我得到了以下错误。Uncaught TypeError: Cannot read property 'push' of undefined at index.js::100 at reports-actions.js:88
at index.js