Snapchat open-sources Valdi a cross-platform UI framework
github.com·5h·
Discuss: Hacker News
Flag this post

Valdi

Note

Beta Status: Valdi has been widely used in Snap’s production apps for the last 8 years. We’re calling this a beta because our tools and documentation need more battle testing in the open source world. Valdi will exit beta when we’re happy with the developer experience.

Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity. Write your UI once in declarative TypeScript, and it compiles directly to native views on iOS, Android, and macOS—no web views, no JavaScript bridges.

Quick Example

A basic Valdi component:

import { Component } from 'valdi_core/src/Component';

class HelloWorld extends Component {
onRender() {
const message = 'Hello World! 👻';
<view backgroundColor='#FFFC00' padding={30}>
<l...

Similar Posts

Loading similar posts...