reactjs / react.dev

The React documentation website
https://react.dev/
Creative Commons Attribution 4.0 International
11.07k stars 7.55k forks source link

Link to React 16 documentation (https://16.react.dev/) is redirecting to React 17 documentation. #7011

Closed Anubhav-Nigam closed 4 months ago

Anubhav-Nigam commented 4 months ago

Summary

Open https://react.dev/versions Go to previous versions section (https://react.dev/versions#previous-versions) and click on 16.react.dev (https://16.react.dev/). It will redirect to https://17.reactjs.org/

Page

https://react.dev/versions

Details

Documentation for React 16 (https://16.react.dev/) is redirecting to React 17 (https://17.reactjs.org/) documentation instead of React 16 documentation.

Rekl0w commented 4 months ago

Because there is no website about v16. It automatically redirects to v17's website.

Anubhav-Nigam commented 4 months ago

I think there was a site for React 16. Hooks were released in React 16.8 I guess, so there should be detailed docs available for React 16 also.

CuriousCoder00 commented 4 months ago

This same issue was also mentioned here: https://github.com/facebook/react/issues/24802

After doing some research i found that there seem to be only minor changes in v16 & v17 in react.. as mentioned in https://github.com/facebook/react/issues/24802 thread

 You can use https://17.reactjs.org/, which is pretty much the same as 16. 
There have been almost no changes between 16 and 17 
except for [minor semantic breakages](https://reactjs.org/blog/2020/08/10/react-v17-rc.html).

_Originally posted by @gaearon in https://github.com/facebook/react/issues/24802#issuecomment-1173956072_