You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Havunen when the user clicks on a <Link to="/someurl">Go</Link> and he's already on that URL, a warning will show on the console. What I want to do is do state changes on the parent of the Route component.
classAppextendsComponent{state={// some state}handler=()=>{// handle user already on that path.}render=()=>(<Parent><HashRouter><RouteonComponentAlreadyHere={this.handler}path="someurl"component={Page}/></HashRouter></Parent>);}
Issue Template
Is there a way to catch this and do something?
Inferno Metadata
macOS
Safari / Chrome / Firefox /
[email protected]
The text was updated successfully, but these errors were encountered: