Skip to content

Commit

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

Please sign in to comment.