Static Optimization
How @tamagui/static optimizes code at build time
The Tamagui compiler turns component styles into atomic CSS and flattened platform primitives at build time.
For details on how the compiler optimizes your code through static analysis:
- Why a compiler: architectural background on compiler benefits
- Compiler Installation: how to set up the compiler in your project
- Benchmarks: performance measurements across platforms