Rock Modular Toolkit for React Native

repository·main·Indexed 20 days ago

https://github.com/callstackincubator/rock

A modular toolkit for React Native teams designed to optimize build performance and developer experience. Rock provides remote build caching to reduce build times, brownfield integration for adding React Native to existing native iOS and Android apps, and a plugin-based architecture to customize platforms, bundlers (Metro, Re.Pack), and storage providers (GitHub Actions, S3, Cloudflare R2).

Tokens
75.8K
Snippets
241
Records
321
Agent score
67%

What's inside Rock

  1. Introduction to Rock

    main

    Rock is a modular toolkit designed for teams building React Native applications. It aims to improve build times and developer experience by providing a flexible architecture that integrates into existing workflows and infrastructure.

    Rock is particularly useful for addressing challenges such as:

    • Build times: Enabling reuse of builds across CI jobs and development teams.
    • Infrastructure control: Allowing teams to host everything on their own infrastructure (e.g., GitHub Actions, Amazon S3, BitBucket).
    • Platform diversity: Supporting iOS, Android, and experimental HarmonyOS, with future support for TVs, macOS, and Windows.
    • Brownfield integration: Embedding React Native into existing native applications.
  2. Overview of Rock features

    main

    Rock is a modular toolkit for React Native teams designed to improve build times and developer experience. Key capabilities include:

    • Remote Build Cache: Reuses native artifacts (APK, AAB, APP, IPA) across machines and CI (supports GitHub, S3, R2, or custom storage) to reduce build times by up to 96%.
    • Brownfield Support: Specialized plugins to add React Native to existing native iOS and Android apps.
    • Modular Architecture: A plugin-driven system for customizing platforms, bundlers, and cache providers.
    • Cross-platform: Native support for iOS and Android, with future support planned for macOS, Windows, and TVs.