Skip to content

Change our new arch cpp-lib template to align with the RN "golden" templateΒ #13250

@jonthysell

Description

@jonthysell

Summary

There's a (still in progress at the time of opening this) RFC to create a specific official "golden" template for RN libraries, being discussed here: react-native-community/discussions-and-proposals#721

Specifics may change, but so far it looks like:

  • New and Old Arch support
  • Includes both a native module and a native view component
  • Uses TypeScript
  • Android/iOS provided by Java and ObjC

You can see the details here: https://github.com/react-native-community/discussions-and-proposals/pull/721/files#diff-3e529b09f72e10925002030c7234cea4ff1fcfff33aea495328c58e8b4518955

Motivation

When the output of this RFC becomes the official template, we'll want to pivot onto it for our template, because we can't possibly support every variation of libraries that have evolved in the community, we'll build on the standard and let others standardize their code or adapt ours.

Basic Example

No response

Open Questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Library TemplateNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + FabricOld ArchitectureBroad category for issues that apply to the RN "old" architecture of Cxx Modules + PaperWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.enhancement

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions