-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Description
How could we replace onEnter
and onChange
route hooks?
I found only 1 solution: additional <Match/>
with a custom component.
This component could use something like componentWillReceiveProps
to emulate onChange
.
But what about onEnter
? We have no lifecycle hooks that receive props on initial render.
Nice work, btw.
Metadata
Metadata
Assignees
Labels
No labels