hiroshima
Hiroshima is a routing library inspired by the style of the D3.js monks, out of need for a short-term working replacement for the great React Router. It is designed to be simplistic and flexible while keeping the API clean and rigid.
Usage
; { router;} const router = ; router; // {components: [App, Home]}router; // {components: [App, About]}router; // {components: [App, Users]}router; // {components: [App, User], params: {user_id: '123'}}router; // {components: [App, BadUser]}router; // {components: [App, NotFound]}
Documentation
TODO