Skip to content

Switch new arch templates to build off NuGet, not Source #12639

@jonthysell

Description

@jonthysell

Summary

Update the new arch templates to instead rely on building from NuGet, not Source.

Motivation

We don't want developers to have to build all of RNW for their apps, so we want all apps and libraries to build against the NuGets. Since our current experimental NuGets already not the default, we should make sure they're optimized to be consumed by the new app templates.

Basic Example

No response

Open Questions

We'd have to update how we test changes with new CLI apps locally and in CI.

We could say, that in dev mode (i.e. link to a local RNW source instead of NPM), that we still build against source. That would be the most convenient thing to test changes locally, but we'd risk missing issues with the NuGets builds not working.

We could mitigate that by having CI build a NuGet and "deploy" it locally during the CLI tests, but we'd only get build confirmation, not that apps would run.

Metadata

Metadata

Assignees

Labels

Area: App TemplateArea: FabricSupport Facebook FabricNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabricenhancement

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions