React sprout

React-sprout is a router for react applications that fully adheres to web standards and react concepts to achieve a simple and minimal api.

Installation

npm install react-sprout

Usage

import Routes from 'react-sprout';

let Router = Routes(
	<>
		<Home path="home" />
		<Todos path="todos" />
	</>,
);

function Application() {
	return <Router />;
}