redux-authentication authentication component for redux Install Examples import authentication from 'redux-authentication'import {connect} from 'react-redux'import React, { PropTypes } from 'react'import {goToLogin} from 'your-actions' @connect(state => ({ isAuthenticated: state.isAuthenticated}), { goToLogin,//map to props.goToLogin OR props.actions.goToLogin})@authenticationclass App extends React.Component { // will be called until isAuthenticated is updated to true render() { return ( <div> App </div> ) }} export default App