Just Eat Costa Fotiadis Jun 10, 2026

Remote Compose looks promising

Article Summary

Costa Fotiadis from Just Eat Takeaway just tested Google's Remote Compose in production scenarios, and the results are surprisingly good. Could this alpha library finally kill WebViews for server-driven UI?

Just Eat Takeaway handles millions of users across global markets and needs to update UI components like offer cards and promo banners without app releases. Their senior Android engineer put Remote Compose through its paces, building a proof-of-concept that serializes Compose UI into binaries served over the wire and rendered natively.

Key Takeaways

Critical Insight

Remote Compose delivers native performance and design system fidelity for server-driven UI, but lacks multiplatform support and has rough edges around fonts, images, and adaptive layouts in its current alpha state.

The article reveals a clever GitHub Actions workflow that makes Remote Compose iteration as fast as standard Compose previews, plus an unexpected discovery about how viewport size actually works.

About This Article

Problem

Costa Fotiadis found that RemoteDensity.Host crashes when layouts get complex and use spacedBy, clip, and RemoteRoundedCornerShape modifiers together. This breaks adaptive layouts across different device densities.

Solution

The team worked around the density issues by setting density constants at capture time instead of using runtime expressions. The downside is that layouts no longer adapt properly across different screen densities.

Impact

When documents were captured at a fixed 160 dpi density, they appeared too small on modern high-density screens. This shows the tradeoff between keeping things stable and supporting adaptive rendering in the current alpha version.