react-router or react-router-dom?
最新版的React Router(v4)有以下几个发行包，可能从之前版本用过来的同学会有一些疑惑，我到底该用哪一个啊？ react-router React Router 的核心公用组件和方法。具体如下： MemoryRouter Pr...[阅读全文]
React Component Lifecycle with react-router
It's important to understand which lifecycle hooks are going to be called on your route components to implement lots of different functionality in your app. The most common thing is fetching...[阅读全文]