From f98518c5d973de2f167d826d53abefdacdc40e17 Mon Sep 17 00:00:00 2001 From: xoyseau <91225197+xoyseau@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:13:06 +0200 Subject: [PATCH 1/2] Fix capitalization of Tooltip in landing-page.md Corrected the capitalization of 'ToolTip' to 'Tooltip' for consistency. --- website/architecture/landing-page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/architecture/landing-page.md b/website/architecture/landing-page.md index 809ccba9b9f..25c7dea353e 100644 --- a/website/architecture/landing-page.md +++ b/website/architecture/landing-page.md @@ -34,7 +34,7 @@ In the current architecture, we use `onLayout` to get the measurements of the vi function ViewWithTooltip() { // ... - // We get the layout information and pass to ToolTip to position itself + // We get the layout information and pass to Tooltip to position itself const onLayout = React.useCallback(event => { targetRef.current?.measureInWindow((x, y, width, height) => { // This state update is not guaranteed to run in the same commit From 566b7900e6f1c6f64264ae5b2a510fc7e23e19d5 Mon Sep 17 00:00:00 2001 From: Eugene Date: Sat, 21 Mar 2026 17:19:38 +0200 Subject: [PATCH 2/2] Fix capitalization of Tooltip in landing-page.md --- website/architecture/landing-page.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/architecture/landing-page.md b/website/architecture/landing-page.md index 25c7dea353e..5416be0420f 100644 --- a/website/architecture/landing-page.md +++ b/website/architecture/landing-page.md @@ -38,7 +38,7 @@ function ViewWithTooltip() { const onLayout = React.useCallback(event => { targetRef.current?.measureInWindow((x, y, width, height) => { // This state update is not guaranteed to run in the same commit - // This results in a visual "jump" as the ToolTip repositions itself + // This results in a visual "jump" as the Tooltip repositions itself setTargetRect({x, y, width, height}); }); }, []); @@ -62,7 +62,7 @@ function ViewWithTooltip() { useLayoutEffect(() => { // The measurement and state update for `targetRect` happens in a single commit - // allowing ToolTip to position itself without intermediate paints + // allowing Tooltip to position itself without intermediate paints targetRef.current?.measureInWindow((x, y, width, height) => { setTargetRect({x, y, width, height}); }); @@ -82,11 +82,11 @@ function ViewWithTooltip() {
A view that is moving to the corners of the viewport and center with a tooltip rendered either above or below it. The tooltip is rendered after a short delay after the view moves -
Asynchronous measurement and render of the ToolTip. [See code](https://gist.github.com/lunaleaps/eabd653d9864082ac1d3772dac217ab9).
+
Asynchronous measurement and render of the Tooltip. [See code](https://gist.github.com/lunaleaps/eabd653d9864082ac1d3772dac217ab9).
A view that is moving to the corners of the viewport and center with a tooltip rendered either above or below it. The view and tooltip move in unison. -
Synchronous measurement and render of the ToolTip. [See code](https://gist.github.com/lunaleaps/148756563999c83220887757f2e549a3).
+
Synchronous measurement and render of the Tooltip. [See code](https://gist.github.com/lunaleaps/148756563999c83220887757f2e549a3).