mirror of
https://github.com/chakra-ui/chakra-ui.git
synced 2026-09-14 16:43:45 +08:00
0fe305592d
Recipe components (Button, Badge, Skeleton, etc.) previously recompiled their recipe and re-resolved variant styles per instance/render, which dominated render time in large lists and tables. - Cache compiled recipes per system instance, keyed by recipe key - Memoize cva/sva variant resolution so results are referentially stable - Drop the per-instance structuredClone of recipe configs - Fix recipe merging so it no longer throws or mutates source configs - Use tsgo (@typescript/native-preview) for faster typecheck
4.2 KiB
4.2 KiB