Skip to content
The simplest router for React apps
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

Simplest React Router

The simplest router for React apps

Installation

Using npm:

$ npm install --save simplest-react-router

Then just import in your React project

import React, { Component } from 'react';
import Route from 'simplest-react-router';

export default class App extends Component {
  render() {
    return (
      <section>
        <Route path="#first">
          First path
        </Route>
        <Route path="#second">
          Second path
        </Route>
      </section>
    );
  }
}

License

MIT License

You can’t perform that action at this time.