Image for post
Image for post

Write a proxy that allows you to use SwiftUI in React Native apps

In 2015, React Native brought a declarative component approach to the cross-platform mobile world. It wasn’t long before this component-oriented philosophy expanded to similar libraries. And now, with SwiftUI and Jetpack Compose, this is finally reaching the native platforms.

SwiftUI is a UI framework that brings the declarative component approach to the family of Apple platforms including iOS, macOS, and watchOS.

It works interchangeably with its predecessor UIKit, which means developers can seamlessly integrate the new framework into their existing apps. However, mix-and-matching UIKit and SwiftUI require middleware to connect them.

Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. …

About

Kureev Alexey

Senior Software Engineer @ Twilio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store