Skip to content

Commit

Permalink
add forwardref note
Browse files Browse the repository at this point in the history
  • Loading branch information
tosky19941209 committed Nov 28, 2019
1 parent c5900b0 commit dc6e327
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 dc6e327

Please sign in to comment.