From 54f0707a8cb26d5b199d743ec9b0d1ee7f62c1f3 Mon Sep 17 00:00:00 2001 From: xbucks 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