typescript-cheatsheets / react

Cheatsheets for experienced React developers getting started with TypeScript

Home Page:https://react-typescript-cheatsheet.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typing Generic forwardRefs

yuvalshim opened this issue · comments

The docs missed how to implement Component with generic types when using forwardRef.

So I really recommend to adding this article:
https://fettblog.eu/typescript-react-generic-forward-refs/

PR welcome!

Recruiting Javascript and Typescript Developers Reachout at megha.n@vamstar.io

PR welcome!

i have been created a pull request for this, Thanks

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!