Skip to content

Instantly share code, notes, and snippets.

Working from home

♪~ ᕕ(ᐛ)ᕗ kevinhaas

Working from home
View GitHub Profile
kevinhaas / react-routing-example
Last active Jun 15, 2016
basic example of routing two components with the react router
View react-routing-example
// This is a basic guide to the React-Router and rendering two Components
// You will need a server setup (node/express) and babel configured for ES6
// You will need to bundle react with webpack/browserify however you choose and require the bundled
files enclosed in <script> tags at the bottom of index.html
// TODO: Expand into Flux, Footer/Navbar/Static Components, Server side rendering, gulp