profile
viewpoint

ReactTraining/react-router

Declarative routing for React

https://reacttraining.com/react-router/

ReactTraining

viewpoint

Express your opinions freely and help others including your future self

Issues rank

Route is not exported in react-router-dom hot 123
Cannot read property 'location' of undefined at useLocation hot 110
useParams returns empty object when used outside of Route hot 76
Error: Invariant failed: You should not use <Switch> outside a <Router> hot 67
TypeError with useHistory hook hot 64
Attempted import error: 'Routes' is not exported from 'react-router-dom'. hot 63
useParams and other new hooks are not exported in react-router-dom & react-router hot 56
'react-router-dom' does not contain a default export (imported as 'BrowserRouter'). hot 45
Prompt in React 16 "Warning: A history supports only one prompt at a time" hot 42
[React.memo] Warning: Failed prop type: Invalid prop `component` of type `object` supplied to `Route`, expected `function` hot 42
this.props.location.state is undefined - react-router hot 39
Typescript 4.0.2 requiring type declaration on `useParams()` - react-router hot 36
How use useParams in class component in react hot 30
[v6] useParams returns an empty object during testing hot 29
Error: Invalid hook call when use hooks of react-router in Context hot 28

contributors (According to the first 100)

mjackson
ryanflorence
taion
timdorr
knowbody
gaearon
pshrmn
taurose
tylermcginnis
avanderhoorn
nhunzaker
StringEpsilon
Schniz
tgallacher
bradwestfall
brigand
alireza-mh
alisd23
dancannon
sophiebits
TrySound
insin
Andarist
thaiphan
chentsulin
benjohnson
coryhouse
anything-sys
johnnyreilly
josepot
sunnibfgi
eXon
bobeagan
justsml
gmaclennan
IljaDaderko
CompuIves
joekrill
johanneslumpe
jmreidy
KidkArolis
seanadkinson
thibaudcolas
wesbos
yasserkaddour
aaronshaf
billyjanitsch
deowk
jaketrent
acjay
alexlande
acdlite
frehner
aaugustin
bjfletcher
benstokoe
benvinegar
benjie
rralian
bradleyboy
brikou
caseywebdev
steida
zenlambda
MeiKatz
trotzig
jacklaurencegaray
jacobrask
jlongster
xjamundx
imjared
jaredpalmer
jblock
bsingr
perrin4869
justin808
kirill-konshin
KyleAMathews
landonwilkins
theboolean
bancek
xiangzhuyuan
mhils
ekilah
ungoldman
natorojr
niksudan
werme
mayani
vramana
robinboehm
eps1lon
simonista
stevenyap
Download
supasate
0x80
trodrigues
tgriesser
kyeotic