× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Keep route URLs in a single place

Bryan Goldstein
Apr 26, 2016
<p>If you are using something like React Router to make sure your navigation is well organized, consider abstracting out your list of URLs into a file that maps them to constants, that way, if you want to refactor your routes, it will be much easier to change the things that like to the route.</p>
comments powered by Disqus