[Proposed Post]: support ref in React As prop docs
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- documentation
Research direction
Start by reading content/christianvm/posts/react-as-prop/index.md, especially the existing As polymorphism examples and their prop types. Update the article to cover React 19 ref-as-a-prop support using the proposed ref typing, then verify that the examples and explanation consistently support refs.
Written by the indexing model from the issue text.
Description
Proposed topic title:
React AS Prop
Topic description:
Topic already exists
Link to existing draft:
Part of series:
No response
Resources
Other Notes
React 19 released with support for ref as a prop. I use the As approach for component polymorphism in development. This article can be updated to add support for refs:
ComponentPropsWithoutRef<E> can be ComponentPropsWithoutRef<E> & {ref?: ComponentPropsWithRef<C>["ref"]}
- Dominant language
- TypeScript
- Stars
- 227
- Forks
- 106
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 56
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.
More from playfulprogramming/playfulprogramming
-
playfulprogramming/playfulprogramming#1689 · 1 assignee ·
-
playfulprogramming/playfulprogramming#1670 · 1 assignee ·
-
Prep For SSR Mode Open
playfulprogramming/playfulprogramming#1669 · 1 assignee ·
-
design i18n
playfulprogramming/playfulprogramming#1653 · 1 assignee ·
-
design i18n
playfulprogramming/playfulprogramming#1652 · 1 assignee ·
All issues in playfulprogramming/playfulprogramming
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100