From 734deb46a3ae44c6a9569e41a9fc6e09a5b41750 Mon Sep 17 00:00:00 2001 From: JoyfulMagician Date: Thu, 28 Nov 2019 03:56:27 -0500 Subject: [PATCH] add forwardref note https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/issues/167 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 145a865..96c17e1 100644 --- a/README.md +++ b/README.md @@ -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