microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.1k stars 1.13k forks source link

Create public OSS new app templates for React Native Fabric #12991

Open jonthysell opened 2 months ago

jonthysell commented 2 months ago

The tooling and templates necessary for end developers to create their own Win32 app which hosts a React Native Fabric Island. This will need to conform to the expectations and norms of the existing RN app development ecosystem. Without this we will not be able to keep or attract external developers to React Native for Windows after the Paper renderer is deprecated.

chrisglein commented 2 months ago

Builds upon what is done in #12990 to then bake this into the template for new apps, replacing the boiler plate code there today with use of the new ReactNativeIsland type (or uses that as an implementation detail of ReactApplication, if simple form). Sample lays out a more manual way, where this is the clean easy mode that produces a tiny WinMain for the end app developer. Sample = clarifying advanced mode (built and validated in repo), New App = simple easy to understand mode.