React-router v4 路由配置方法小结

一. Switch 、Router 、Route三者的区别 1、Route Route 是建立location 和 ui的最直接联系 2、Router react-router v4 中,Router被拆分成了StaticRouter、MemoryRouter、BrowserRouter、HashRouter、NativeRouter。 MemoryRouter、BrowserRouter、Has
相关文章
相关标签/搜索