Discover and explore top open-source AI tools and projects—updated daily.
SnapchatBuild native cross-platform UIs with TypeScript
Top 3.1% on SourcePulse
Valdi is a cross-platform UI framework that compiles declarative TypeScript (TSX) directly to native views for iOS, Android, and macOS. It aims to deliver native performance without sacrificing developer velocity, targeting developers building cross-platform applications who require both high performance and rapid iteration cycles. The framework has been battle-tested internally at Snap for eight years.
How It Works
Valdi's core approach bypasses web views and JavaScript bridges by compiling TSX components into platform-native views. This ensures true native performance. Further optimizations include automatic view recycling via a global pooling system, independent component re-rendering to prevent parent re-renders, an efficient C++ layout engine, and viewport-aware inflation for performant scrolling.
Quick Start & Requirements
npm install -g @snap/valdi, followed by valdi dev_setup.valdi bootstrap, then valdi install ios or valdi install android.Highlighted Details
Maintenance & Community
Community support is available via GitHub Discussions and Discord. A roadmap and example applications are also provided.
Licensing & Compatibility
Valdi is released under the permissive MIT License, generally compatible with commercial use and closed-source linking.
Limitations & Caveats
The project is currently in beta, with tools and documentation undergoing further refinement for open-source use. It will exit beta once the developer experience meets the project's standards.
1 day ago
Inactive
yue