diff --git a/docs/src/content/docs/v3/references/use-unistyles.mdx b/docs/src/content/docs/v3/references/use-unistyles.mdx index a2657688..29ec45e3 100644 --- a/docs/src/content/docs/v3/references/use-unistyles.mdx +++ b/docs/src/content/docs/v3/references/use-unistyles.mdx @@ -3,7 +3,7 @@ title: useUnistyles description: Learn about escape hatch in Unistyles 3.0 --- -import { Card } from '@astrojs/starlight/components' +import { Card, Aside } from '@astrojs/starlight/components' import Seo from '../../../../components/Seo.astro' { } ``` + + ### Why isn't it recommended? We encourage using `withUnistyles` instead because it ensures only a single component is re-rendered instead of multiple components or the entire app. If you use this hook in a root component, you lose all the benefits of ShadowTree updates and trigger full app re-renders on every change.