Added contextTypes(router) to the Form component of the transitions example and also change this.props.router to this.context.router to get the setRouteLeaveHook working.
Added contextTypes(router) to the Form component of the transitions example and also change this.props.router to this.context.router to get the setRouteLeaveHook working.

rdjpalmer/react-router,rackt/react-router,tylermcginnis/react-router,OpenGov/react-router,rafrex/react-router,goblortikus/react-router,malte-wessel/react-router,rackt/react-router,meraki/react-router,asaf/react-router,nvartolomei/react-router,ReactTraining/react-router,mattkrick/react-router,OpenGov/react-router,OpenGov/react-router,shunitoh/react-router,rdjpalmer/react-router,OpenGov/react-router,d-oliveros/react-router,stshort/react-router,DelvarWorld/react-router,mattkrick/react-router,goblortikus/react-router,reactjs/react-router,asaf/react-router,malte-wessel/react-router,DelvarWorld/react-router,aaron-goshine/react-router,stshort/react-router,ReactTraining/react-router,taion/rrtr,djkirby/react-router,nvartolomei/react-router,shunitoh/react-router,zenlambda/react-router,rafrex/react-router,asaf/react-router,goblortikus/react-router,zenlambda/react-router,reactjs/react-router,aaron-goshine/react-router,djkirby/react-router,meraki/react-router,ReactTraining/react-router,ReactTraining/react-router,d-oliveros/react-router,tylermcginnis/react-router,goblortikus/react-router