Skip to content

Instantly share code, notes, and snippets.

View forsaken1's full-sized avatar
💭
Elixir one love

Alex Krylov forsaken1

💭
Elixir one love
  • Wavix
  • Thailand
View GitHub Profile
@abury
abury / routes.js
Last active February 21, 2018 03:41
PlainRoute example with require auth for React-redux
// We only need to import the modules necessary for initial render
import CoreLayout from '../layouts/CoreLayout/CoreLayout';
import Home from './Home';
import LoginRoute from './Login';
import SignupRoute from './Signup';
import DashboardRoute from './Secure/Dashboard';
import LeadsRoute from './Secure/Leads';
import NotFound from './NotFound';
/* Note: Instead of using JSX, we recommend using react-router