Home / Companies / Expo / Blog / Post Details
Content Deep Dive

An early look at Expo Modules 2.0

Blog post from Expo

Post Details
Company
Date Published
Author
Tomasz Sapeta
Word Count
2,000
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

Expo Modules 2.0 introduces a native-first approach to building React Native modules, replacing Expo Modules 1.0’s specialized Swift/Kotlin DSL with ordinary annotated classes, methods, properties, structs, and events. On iOS, developers can use macros such as @ExpoModule and @JS in SDK 57 to expose Swift APIs to JavaScript, while Kotlin-based Android support is still in development and an official documented beta is planned for SDK 58. The approach supports incremental migration alongside the existing API, including an agent-assisted migration skill, and aims to make module development easier for both developers and coding assistants by relying on familiar language syntax and compile-time type checking. By generating bindings from native function signatures at build time, version 2.0 eliminates much of the runtime reflection and allocation overhead of the older API, with reported synchronous-call performance gains of 2.5 to 5.6 times over 1.0 on the tested iOS setup. Planned additions include similarly annotation-based native views, generated TypeScript declarations from native source, and cross-platform checks to identify mismatches between Swift and Kotlin module APIs.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Coding Assistant 1 341 115 55 -77%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.