我有使用 React 和 React Router 编写的 webapp。
使用 window.location.href 重定向与使用通过 react-router 提供的组件有什么优缺点吗?
reactjs react-router-v4
react-router-v4 ×1
reactjs ×1