Skip to content

Commit

Permalink
add forwardref note
Browse files Browse the repository at this point in the history
  • Loading branch information
secretsuperstar1109 authored and 0Armaan025 committed Nov 28, 2019
1 parent 685318d commit 346d932
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 346d932

Please sign in to comment.