From 47d30f3c09dce9b252070b39c6bc54852ef087a4 Mon Sep 17 00:00:00 2001 From: Tom Coughlin Date: Wed, 12 Feb 2020 17:00:32 -0600 Subject: [PATCH] docs: update first render return value --- website/src/pages/rect.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/rect.mdx b/website/src/pages/rect.mdx index 94c869788..baf3c3503 100644 --- a/website/src/pages/rect.mdx +++ b/website/src/pages/rect.mdx @@ -88,7 +88,7 @@ _Type_: `func: ({ ref, rect }) => node` A function that calls back to you with a `ref` to place on an element and the `rect` measurements of the dom node. -**Note**: On the first render `rect` will be `undefined` because we can't measure a node that has not yet been rendered. Make sure your code accounts for this. +**Note**: On the first render `rect` will be `null` because we can't measure a node that has not yet been rendered. Make sure your code accounts for this. ##### Rect observe