npx create-expo-app@latest my-app --template @solidnative/template.The solidnative project is a port of ng-native (a similar solution for Angular) to SolidJS. It renders SolidJS components directly on React Native's Fabric renderer, so <View> becomes a UIView on iOS and android.view.View on Android, and React is completely excluded from the render path. The developer writes Solid components, signals and stores, then builds and runs the app with Expo tooling. Technically, the chain looks like this: JSX is compiled at build time with babel-preset-solid (universal mode), then Solid's universal renderer calls createElement, insertNode, setProp, etc., data then goes to the Fabric engine via the JSI mutation API, and it forwards it to native views via nativeFabricUIManager. Solid doesn't use a virtual DOM, so writing to a signal updates only the native props that depend on it. Multiple writes in one synchronous run are batched into a single Fabric commit. Notably, react-native and expo remain unchanged dependencies — nothing is forked.
For developers familiar with SolidJS, this is a way to apply familiar tooling to mobile development without bringing in React. At the same time, the entire React Native ecosystem is preserved: Expo tools (create-expo-app, expo start, Expo Go, development builds, EAS Build/Update/Submit) work as usual, and Expo SDK modules, TurboModules and Fabric components are accessible from Solid. If a library publicly exposes React components or hooks, a thin Solid wrapper over its native part is required — as done in @solidnative/expo and @solidnative/router.
The project is positioned as an experiment in running Solid on the React Native architecture. It inherited the idea from ng-native, which did the same for Angular. The repository offers examples of full-fledged apps: a banking wallet, a habit tracker, a music player, a run tracker with maps, notes and a social app with platform controls. For studying the architecture, there's an ARCHITECTURE.md file with the rules. Among the features: native rendering of text, images, lists, inputs, modals; CSS/Tailwind with media queries and dark theme; native navigation based on react-native-screens; Expo modules as services; animations; testing in Node with a fake Fabric; plus web support via @solidnative/web.
Source: github.com · post in Telegram