We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cec09 commit b1bef58Copy full SHA for b1bef58
src/content/reference/react/useLayoutEffect.md
@@ -92,7 +92,7 @@ function Tooltip() {
92
93
useLayoutEffect(() => {
94
const { height } = ref.current.getBoundingClientRect();
95
- setTooltipHeight(height); // Теперь перерендерьте, когда вы знаете реальную высоту.
+ setTooltipHeight(height); // Теперь вызовите повторный рендер, когда вы знаете реальную высоту.
96
}, []);
97
98
// ...используйте tooltipHeight в логике рендеринга ниже...
0 commit comments