React Native Skia: A Year in Review and a Look Ahead
React Native Skia moved from an alpha with JS-thread bottlenecks to a declarative architecture called Skia DOM that executes Skia drawings entirely on the UI thread. The redesign targeted two problems: blocking the JavaScript thread delayed first frames, and thousands of JSI allocations per drawing added noticeable overhead. Skia DOM, implemented in C++ on iOS/Android and JS on the Web, keeps a source of truth and recomputes only changed parts. A single custom React renderer targets iOS (Metal), Android and Web (OpenGL, via CanvasKit/WebAssembly) and Node.js. Cross-platform end-to-end image tests and type-checked docs support quality, and 2023 plans cover worklet-driven animations, Reanimated integration and Skia paragraph text layout.
Related posts
- React Native Skia—For Us, For You, and For Fun
Shopify Engineering easyNoviceReact Native Skia brings Google's Skia 2D graphics library to React Native, giving iOS, Android and eventually web apps consistent drawing primitives such as shaders, image filters, SVG, path operations, vertices and text layout. It is built on the new JSI architecture, which exposes Skia directly through C++ rather than asynchronous bridge messages, and its API mirrors Flutter's so that web support can later come through CanvasKit (Skia's WebAssembly build). A declarative layer uses the React Reconciler to diff drawing state and pass only changes to Skia. Animations run on a dedicated thread like Reanimated 2, with a direct connector to Reanimated for gesture-driven drawings.
- Getting Started with React Native Skia
Shopify Engineering mediumAdeptReact Native Skia (@shopify/react-native-skia) exposes Google's Skia 2D graphics engine to React Native, giving a cartesian canvas with shapes, paths, shaders and image filters that go beyond what View and react-native-svg handle well. The tutorial covers drawing primitives and paths (via SVG strings or imperative commands like addArc), animating drawings by passing Reanimated shared values directly to Skia components, driving them with Gesture Handler pan gestures on the UI thread for 60-120 FPS interaction, and applying built-in effects like Blur and DashPathEffect. Skia also works in the browser through React Native Web.
- The Future of React Native Graphics: WebGPU, Skia, and Beyond
Shopify Engineering easyNoviceReact Native WebGPU, built on Google's Dawn, lets React Native apps run Three.js, React Three Fiber, TSL shaders, ComputeToys compute shaders and TensorFlow.js on Metal (iOS) and Vulkan (Android) with no changes, which collapses the separate OpenGL and Metal backends into one. Lessons from that work fed back into React Native Skia. Moving from a mutable C++ scene graph (SkiaDOM) to an immutable, Fabric-reconciler display list made animation up to 50% faster on iOS and nearly 200% faster on Android, while fixing 98% of reported Android crashes. Skia also gained macOS, tvOS and headless Node.js targets, and the experimental Skia Graphite backend previews automatic threading and two-way 2D/3D texture composition.
- Accelerating Mobile App development at Zalando with Rendering Engine and React Native
Zalando Engineering mediumAdeptZalando is incrementally migrating its separate iOS and Android apps to React Native by reusing Rendering Engine, its React-based web framework whose "renderers" bundle data fetching, caching, observability and tracking into components. React Native ships as a package: an npm "Entry Point" is consumed both by a standalone developer app and by a native SDK exposing a simple view-factory interface. Native interop goes through turbo modules plus injected protocols, which developers can mock. UI is shared with web through react-strict-dom and StyleX, with Metro platform-specific files and compat APIs covering cases one shared implementation can't handle.
- Migrating to React Native's New Architecture
Shopify Engineering mediumAdeptShopify moved Shopify Mobile and POS to React Native's New Architecture (Fabric) without pausing weekly releases. The team kept both architectures buildable on every PR, made only minimal code changes, deferred TurboModule conversion of 40+ native modules, and upgraded to the latest React Native first. Common breakages included state batching exposing timing-dependent components, blank screens caused by UIManager-dependent modules, view flattening nulling refs (fixed with collapsable={false} and a Babel plugin), and main-thread module setup deadlocks. A staged Android-first rollout with stability-based rollback tiers yielded 10% faster Android launch, though crash-free sessions and ANRs regressed for weeks after release.