3 ms·
One of the things that's burned me in the past with React Router is not just that the API changes from version to version but that documentation I'm reading at
by patwolf 10y ago
One of the things that's burned me in the past with React Router is not just that the API changes from version to version but that documentation I'm reading at any given time doesn't indicate which version it refers to. I've wasted time trying to debug why things weren't working the way the documentation stated only to find that I was reading the wrong version of the documentation.
Some advice for anyone that hosts docs outside of the git source tree, make the version information clear. For example, the express documentation http://expressjs.com/en/api.html http://expressjs.com/en/api.html states very clearly "4.x API".