jaredLunde / react-router-typed

An abstraction for react-router-dom that adds stronger typing and better autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


react-router-typed

react-router-dom v5 with strong types

npm i react-router-typed

Bundlephobia Types Code coverage Build status NPM Version MIT License


A TypeScript implementation of react-router v5 with strong types based entirely on work by Michael Jackson and ReactTraining.

Quick Start

import {createRouter} from 'react-router-typed'

API

Props

Prop Type Default Required? Description

Credits

This library is a fork of react-router. It was written almost entirely by Michael Jackson. All I did was add strong types.

Check out react-router by Michael Jackson and ReactTraining

LICENSE

MIT

About

An abstraction for react-router-dom that adds stronger typing and better autocomplete

License:MIT License


Languages

Language:TypeScript 95.1%Language:JavaScript 4.9%