Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/houhoucoop/react-router
A simple react router implementation
https://github.com/houhoucoop/react-router
react react-router-dom
Last synced: 27 days ago
JSON representation
A simple react router implementation
- Host: GitHub
- URL: https://github.com/houhoucoop/react-router
- Owner: houhoucoop
- Created: 2021-03-30T15:32:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T12:57:28.000Z (over 3 years ago)
- Last Synced: 2024-03-25T23:03:37.533Z (8 months ago)
- Topics: react, react-router-dom
- Language: HTML
- Homepage:
- Size: 521 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-router
> A simple react router implementation
[![NPM](https://img.shields.io/npm/v/react-router.svg)](https://www.npmjs.com/package/react-router) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Install
```bash
npm install --save @houhoucoop/react-router
```## Usage
```jsx
import React from 'react'
import { Router, Switch, Route, Link } from 'react-router'const App = () => {
return (
<>
- Home
- Story
- About Houhou
Home
Story
No match
>
)
}
```
## License
MIT © [@houhoucoop](https://github.com/@houhoucoop)