Traveloka Jun 18, 2021

React Native at Traveloka: Native UI Components

Article Summary

Adrian Hartanto from Traveloka cracked a problem that plagues every multiplatform team: keeping identical components in sync across iOS, Android, and React Native without tripling the maintenance work.

Traveloka's Multiplatform Infra Team built 'Reverse Osmosis,' a system that lets native iOS/Android components work inside React Native pages with dynamic sizing. This solves the feature parity nightmare where React Native versions of components constantly fall behind their native counterparts.

Key Takeaways

Critical Insight

Traveloka eliminated duplicate component maintenance by embedding native UI directly into React Native with automatic sizing, keeping all platforms in sync by default.

The article reveals why iOS Auto Layout fundamentally conflicts with React Native's threading model, and the clever workaround that made it work anyway.

Recent from Traveloka

Related Articles