Skip to content

Release 0.74.0-nightly-20240123

Compare
Choose a tag to compare
@okwasniewski okwasniewski released this 26 Jan 12:44
· 5061 commits to main since this release
4e11ae3

What's new?

SwiftUI as Entry point

React native visionOS now uses SwiftUI lifecycle. The app entry point is now App.swift file (by default it is main.m). This change allows us to use full capabilities of the visionOS SDK.

Here is a example from the template:

// App.swift
@main
struct HelloWorldApp: App {
  @UIApplicationDelegateAdaptor var delegate: AppDelegate
  
  var body: some Scene {
    RCTMainWindow(moduleName: "HelloWorld")
  }
}

What's Changed

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.0-nightly-20240123