react.dev
react.dev copied to clipboard
Show "new in" or "since" in Reference docs
trafficstars
Looking at https://reactjs.org/docs/hooks-reference.html#useid or https://beta.reactjs.org/reference/react/useId , I expect to see something indicating that useId was added in React 18. But I only see that stated at https://reactjs.org/blog/2022/03/29/react-v18.html .
I expect this on most functions.
This
- Prevents users stuck on an older version from being confused about their inability to use a feature.
- Helps long time users not overlook new features when reading docs for other reasons.
I appreciate docs like the Java JDK that provide this. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html#stream()
Since: 1.8