摘要:
Since react-router routes are components, creating nested routes is as simple as making one route a child of another in JSX. Make the nested component 阅读全文
posted @ 2016-03-28 23:19
Zhentiw
阅读(598)
评论(0)
推荐(0)
摘要:
In this lesson we'll look at hashHistory which uses a hash hack to track our route changes vs browserHistory which delivers clean urls, but requires s 阅读全文
posted @ 2016-03-28 04:41
Zhentiw
阅读(775)
评论(0)
推荐(0)
摘要:
react-router provides two props for setting a specific style on a Link component whose path matches our current route. activeStyle allows for an inlin 阅读全文
posted @ 2016-03-28 04:34
Zhentiw
阅读(2566)
评论(0)
推荐(0)
摘要:
In this lesson we'll take our first look at the most common components available to us in react-router; Router, Route, and Link. 阅读全文
posted @ 2016-03-28 01:29
Zhentiw
阅读(586)
评论(0)
推荐(0)

浙公网安备 33010602011771号