Skip to content

Commit

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

Please sign in to comment.