Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

react-router4 以上 如何做路由跳转?

$
0
0

如题:在react-router3的时候可以直接用 js\n import {hashHistory } from 'react-router'; \n然后 hashHistory.push(’/login’) 这种方式来进行跳转, 然而,到了4.0以上后,hashHistory不能再用了, 请教,该如何执行跳转


Viewing all articles
Browse latest Browse all 14821

Trending Articles