ryanflorence / react-router-relative-links

MIT License
78 stars 10 forks source link

Updates to use react-router applyRouterMiddleware #6

Closed perrin4869 closed 3 years ago

perrin4869 commented 8 years ago

Since react-router 2.3.0, applyRouterMiddleware has been available built in. Move to using it, and fix linting on the way

perrin4869 commented 8 years ago

@ryanflorence any chance you might take a look at this in the near future? People already using middleware with react-router's applyRouterMiddleware like myself cannot use react-router-relative-links, since the useRelativeLinks middleware shipped here cannot be mixed with other middlewares...

perrin4869 commented 8 years ago

@ryanflorence This has become kind of deprecated in react-router@4.0, and yet since react-router@3.0 will still be supported indefinitely, I think it's still worth it to look at this PR :)