我想在我的react/react-router/flux应用程序中建立一个Facebook登录.我在登录事件中注册了一个监听器,'/dashboard'如果他们已登录,则希望将用户重定向到.我该怎么做?location.push除了完全重新加载页面后,效果不佳.
'/dashboard'
location.push
reactjs reactjs-flux react-router
react-router ×1
reactjs ×1
reactjs-flux ×1