Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Shopify Engineering 4 min read Announcement easyNovice

React Native Skia—For Us, For You, and For Fun

React 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.

Related posts

  • React Native Skia: A Year in Review and a Look Ahead

    Shopify Engineering mediumAdept

    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.

  • Getting Started with React Native Skia

    Shopify Engineering mediumAdept

    React 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 easyNovice

    React 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 mediumAdept

    Zalando 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.

  • Native is now the future of mobile at Shopify

    Shopify Engineering easyNovice

    Shopify is moving its mobile apps from React Native back to native Swift and Kotlin because coding agents have cut the cost of building and keeping features in parity across two platforms, while native still gives closer access to platform capabilities and first-party tooling. The apps are being rebuilt greenfield rather than migrated gradually. The Shop app went from proof of concept to a published native app in 12 weeks, and the 300+ screen Shopify app is in progress. To avoid unmaintainable one-shot LLM output, a system called Helix splits each screen into small checkpoints, and each one must pass tests, visual comparison, two adversarial AI reviewers and human approval. Business logic is being decoupled from the UI so it runs headlessly behind a CLI, letting agents iterate in milliseconds instead of waiting minutes on simulators. Shopify's open-source libraries are also changing hands: Skia moves to a fork maintained by William Candillon, FlashList is seeking a new steward, and Restyle is being archived.

The quest for software engineering knowledge.

Look:
Layout: