Skip to content

Commit

Permalink
add forwardref note
Browse files Browse the repository at this point in the history
  • Loading branch information
renawolford6 committed Nov 28, 2019
1 parent 1fc6a9b commit b85ee6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ If you are grabbing the props of a component that forwards refs, use [`Component

More info: https://medium.com/@martin_hotell/react-refs-with-typescript-a32d56c4d315

You may also wish to do [Conditional Rendering with `forwardRef`](https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/issues/167).

[Something to add? File an issue](https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/issues/new).

## Portals
Expand Down

0 comments on commit b85ee6f

Please sign in to comment.