Show "new in" or "since" in Reference docs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Hooks Reference and the useId reference pages linked in the issue, then compare them with the React 18 release blog post to understand the existing version information. Done means the relevant React function reference documentation consistently indicates when features were added, including useId in React 18.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100