Architecture

Solid Native separates application semantics (owned by Solid 2) from native rendering infrastructure (accessed through a small, versioned host contract).

System layers#

text
Solid 2 Application (.tsx)
  │  createSignal / createMemo / createAsync / TanStack Router
  ▼
OXC Universal Compiler (@solidnative-dev/compiler + @solidnative-dev/metro)
  │  Babel-free TSX transform + composed Metro source maps
  ▼
Transactional Renderer (@solidnative-dev/renderer)
  │  Fine-grained node/prop/text ops coalesced into atomic commits
  ▼
Versioned Host Contract (@solidnative-dev/host-contract)
  │  Platform-neutral commit, event, measurement & worklet protocol
  ▼
Native Host Backend (@solidnative-dev/fabric-host -> React Native 0.88.1)
  │  JSI · Hermes · Fabric ShadowTree · Yoga · UIKit / Android Views

Core design principles#

  1. Zero React, zero Fiber: React is never imported or mounted as a component renderer. Solid 2 owns every component lifecycle, signal, async boundary, and disposal scope.
  2. Atomic native transactions: Reactive writes within a flush coalesce into one versioned host transaction, so native UI never observes half-applied intermediate states.
  3. Host backend is replaceable: React Native's lower half (Fabric, Yoga, Hermes, JSI, autolinking, TurboModules) is the first backend—kept behind @solidnative-dev/host-contract and verified by automated boundary gates.
  4. Visible, app-owned native projects: sn create generates standard ios/ and android/ projects you own and can inspect directly in Xcode and Android Studio.
  5. Deterministic first, hardware verified: Every runtime contract is proven in-memory first (@solidnative-dev/testing) and then qualified in Release mode on physical iOS and Android devices.