Summon 0.4.0.4 is live! The biggest release yet :r...
# feed
y
Summon 0.4.0.4 is live! The biggest release yet 🚀 I just shipped WebAssembly support for Summon! What is Summon? A Kotlin Multiplatform frontend framework - think Jetpack Compose for the web. Build reactive UIs that compile to JVM (server), JavaScript (browser), and now WebAssembly (browser). WASM with SEO compatibility This implementation maintains SEO compatibility with WebAssembly: • Server-side rendering first → SEO metadata, structured data preserved • WASM hydration → takes over seamlessly for native performance • Automatic fallbacks → JS for older browsers, forms for no-JS Result: Native-like performance with zero SEO impact 📈 Key highlights 97% browser compatibility (Chrome 119+, Firefox 120+, Safari 16+, Edge 119+) 100% backward compatibility - existing code just gets faster <200KB gzipped bundle size (only 8% increase) WASM DOM manipulation (with JS bridge) 95%+ error recovery from WASM failures Zero breaking changes Code example
Copy code
kotlin
@Composable  
fun FastUI() {
    val data = remember { mutableStateOf(heavyComputation()) }
    
    Column {
        // Runs at native speed in WASM! :fire:
        ComplexDataGrid(data.value)
        Button(onClick = { data.value = processMore() })
    }
}
Same Kotlin code → JVM server + WASM client Looking for testers! Summon is in alpha and I'm actively seeking testers and feedback. If you want to try WebAssembly with Kotlin, your testing would be super valuable for improving the framework. Links • GitHub: https://github.com/codeyousef/summon • WASM+SEO Demo: https://github.com/codeyousef/summon/tree/main/examples/wasm-seo-todo • Full docs: https://github.com/codeyousef/summon/tree/main/docs
kodee loving 8
j
Are the examples hosted somewhere?
1
s
☝️ Clicking through a live demo would be nice.
y
I keep getting requests for a live demo so I'll work on it this weekend!
👍 2
j
Excellent! I look forwards to it! This is the kind of framework I want to see in Kotlin. It's been my goal to do something similar but for all platforms, so I'm really interested to see how yours plays out. One major trust point for me for any front-end facing framework is that it at least has a live demo, and the ultimate proof of it being a framework worth using is if the documentation for the framework is written in the framework itself (if the framework does static sites) - a clear indicator that the author thinks it's the best option for building their site.
kodee loving 1