Is there a best practice for constructing URLs for links in my react-router
based app? In the Zend Framework
world of php
, I would use a url helper that utilizes reverse routes. By providing the route name and parameters to a route configuration, it would generate the URL for me to link to (or push to in the case of react-router
).
I came across this resource, but it appears to only support up to version 1 of react-router
. However, I am using version 3.