React-router: Can't unlisten browserHistory

Created on 26 Apr 2016  路  4Comments  路  Source: ReactTraining/react-router

I've tried asking on StackOverflow without results...
http://stackoverflow.com/questions/36851800/react-router-browserhistory-removelisten

How can I unlisten browserHistory?

Most helpful comment

The return from listen is a function that will remove the listener when called.

All 4 comments

The return from listen is a function that will remove the listener when called.

Is it documented somewhere?

Not here, but on the related history project: https://github.com/mjackson/history/blob/master/docs/GettingStarted.md

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexyaseen picture alexyaseen  路  3Comments

ryansobol picture ryansobol  路  3Comments

nicolashery picture nicolashery  路  3Comments

Waquo picture Waquo  路  3Comments

winkler1 picture winkler1  路  3Comments