Hasty Briefsbeta

Snapchat open-sources Valdi a cross-platform UI framework

15 days ago
  • #Cross-Platform
  • #UI Framework
  • #TypeScript
  • Valdi is a cross-platform UI framework with native performance, used in Snap's production apps for 8 years.
  • It compiles declarative TypeScript into native views for iOS, Android, and macOS without web views or JavaScript bridges.
  • Features include automatic view recycling, optimized component rendering, and a C++ layout engine.
  • Valdi supports instant hot reload, VSCode debugging, and familiar TSX syntax for faster development.
  • It integrates easily into existing apps, allowing embedding Valdi in native views or native views in Valdi.
  • Valdi generates type-safe bindings between TypeScript and native platforms, including Kotlin, Objective-C, and Swift.
  • Includes advanced features like animations, gesture recognition, worker threads, and built-in testing.
  • Valdi is open-source under the MIT License, with community support via Discord.