๐ Linked issue
N/A (discussed privately on discord)
โ Type of change
- ๐ Documentation (updates to the documentation or readme)
- ๐ Bug fix (a non-breaking change that fixes an issue)
- ๐ Enhancement (improving an existing functionality)
- โจ New feature (a non-breaking change that adds functionality)
- ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
This change actually turned out to be less important than expected (1.72mil type instantiations down from 1.8mil), and only affects Nuxt UI during development, runtime remains the same.
Essentially calling tv twice (as per tv({ extend: tv(theme) })) created double type evaluation for each component.
Might not be that big of a deal, runtime remains the exact same and no type regressions both in ts v5.9 and v6. So IMO safe to have considering we might have other smaller ~1.5-2% perf improvements here and there, once summed up could become more meaningful.
๐ Checklist
- I have linked an issue or discussion.
- I have updated the documentation accordingly.