Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a99c0b2
Initial plan
Copilot Aug 13, 2025
c80960d
Upgrade website to React Native Windows 0.80
Copilot Aug 13, 2025
934d414
Update .spelling
anupriya13 Aug 17, 2025
80120ea
Merge branch 'main' into copilot/fix-1072
anupriya13 Sep 1, 2025
61220b5
Add New Architecture Property Support section with Missing Properties…
Copilot Sep 1, 2025
2dd4b98
Successfully implement New Architecture Property Support section with…
Copilot Sep 1, 2025
08366be
Move New Architecture Property Support section to APIs and delete new…
Copilot Sep 1, 2025
7e94587
Addressing PR comments
Copilot Sep 1, 2025
41c8a1a
Add missing props
anupriya13 Sep 1, 2025
a653ea2
Merge branch 'copilot/fix-1072' of https://github.com/microsoft/react…
anupriya13 Sep 1, 2025
9e79900
Revert "Addressing PR comments"
anupriya13 Sep 1, 2025
92735bd
Remove (Windows)
anupriya13 Sep 1, 2025
bb42bc4
Update .spelling
anupriya13 Sep 1, 2025
3754cf7
Update new-arch-missingProps.md
anupriya13 Sep 2, 2025
f0091be
Update .spelling
anupriya13 Sep 2, 2025
4def275
Add Migration Guide page for version 0.80 with Paper to Fabric migrat…
Copilot Oct 22, 2025
522abe0
Merge branch 'main' into copilot/fix-1072
anupriya13 Oct 27, 2025
27fad40
Update sidebars.json
anupriya13 Oct 27, 2025
f987a60
Fix some issues
anupriya13 Oct 27, 2025
4555977
Update new-arch-missingProps.md
anupriya13 Oct 27, 2025
0e39324
Update .spelling
anupriya13 Oct 27, 2025
c190405
resolve comments
anupriya13 Oct 30, 2025
627902c
Update .spelling
anupriya13 Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 44 additions & 1 deletion .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,48 @@ WinGet
WinRT
WinUI
WinUI3
Xcode
80-native-platform-getting-started
sidebar_label
original_id
workstream
Xcode
onKeyDown
onKeyUp
PreviewKeyDown
PreviewKeyUp
zIndex
focusable
eg
tooltip
UIManager
bridge-based
uwp
cpp-app
old-uwp
init-window
cppwinrt
anupriya13
JS/TSX
migration-guide
version-0.80-migration-guide
WinAppSDK
18.x
13.x
v17.10
10.0.22621.0
package.json
9e5d850e843acc2ff060fbd64673511cc67265f9
microsoft
react-native-windows-samples
src
snapToInterval
snapToAlignment
decelerationRate
pagingEnabled
textAlign
ltr
rtl
e.g.numeric
ascii-capable
url
VSCode
28 changes: 28 additions & 0 deletions website/.unbroken_exclusions
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
!versioned_docs/version-0.77/native-api/*-api-windows*.md
!versioned_docs/version-0.78/native-api/*-api-windows*.md
!versioned_docs/version-0.79/native-api/*-api-windows*.md
!versioned_docs/version-0.80/native-api/*-api-windows*.md

# See Issue 410
File not found IReactContext while parsing versioned_docs/version-0.64/native-modules-advanced.md
Expand All @@ -37,6 +38,33 @@ URL not found https://www.npmjs.com/package/rnpm-plugin-windows while parsing ve
URL not found https://www.npmjs.com/package/react-native-macos while parsing versioned_docs/version-0.78/rnm-getting-started.md (HTTP 403)

#fix-unbroken.js auto-generated do not edit this line or below
File not found autolink-windows-cli.md while parsing versioned_docs/version-0.80/getting-started.md
File not found getting-started.md while parsing versioned_docs/version-0.80/getting-started.md
File not found init-windows-cli.md while parsing versioned_docs/version-0.80/getting-started.md
File not found native-platform.md while parsing versioned_docs/version-0.80/getting-started.md
File not found new-architecture.md while parsing versioned_docs/version-0.80/getting-started.md
File not found platform.md while parsing versioned_docs/version-0.80/getting-started.md
File not found rnw-dependencies.md while parsing versioned_docs/version-0.80/getting-started.md
File not found run-windows-cli.md while parsing versioned_docs/version-0.80/getting-started.md
File not found run-windows-cli.md while parsing versioned_docs/version-0.80/hermes.md
File not found native-code-language-choice.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-modules-advanced.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-modules-async.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-modules-jsvalue.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-modules-setup.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-modules-vs-turbo-modules.md while parsing versioned_docs/version-0.80/native-modules.md
File not found native-platform.md while parsing versioned_docs/version-0.80/native-modules.md
File not found new-architecture.md while parsing versioned_docs/version-0.80/native-modules.md
File not found platform.md while parsing versioned_docs/version-0.80/native-modules.md
File not found view-managers.md while parsing versioned_docs/version-0.80/native-modules.md
File not found getting-started.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found init-windows-cli.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found native-platform-components.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found native-platform-modules.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found rnw-dependencies.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found run-windows-cli.md while parsing versioned_docs/version-0.80/native-platform-getting-started.md
File not found autolink-windows-cli.md while parsing versioned_docs/version-0.80/upgrade-app.md
File not found init-windows-cli.md while parsing versioned_docs/version-0.80/upgrade-app.md
File not found new-architecture.md while parsing versioned_docs/version-0.79/app-publishing.md
File not found run-windows-cli.md while parsing versioned_docs/version-0.79/autolink-windows-cli.md
File not found new-architecture.md while parsing versioned_docs/version-0.79/config.md
Expand Down
7 changes: 4 additions & 3 deletions website/pages/en/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ The React Native for Windows (RNW) Team strives to provide full support for the
| Version | Support Phase | Release Date | Active Support Start | Maintenance Support Start | End of Support |
| -- | -- | -- | -- | -- | -- |
| [main](https://www.npmjs.com/package/react-native-windows/v/canary) | [Canary](#canary-support) | *N/A* | *N/A* | *N/A* | *N/A* |
| [0.79](https://www.npmjs.com/package/react-native-windows/v/latest) | [Active](#active-support) | 06/17/2025 | 06/17/2025 | *TBD* | *TBD* |
| [0.80](https://www.npmjs.com/package/react-native-windows/v/latest) | [Active](#active-support) | 12/16/2025 | 12/16/2025 | *TBD* | *TBD* |
| [0.79](https://www.npmjs.com/package/react-native-windows/v/v0.79-stable) | [Active](#active-support) | 06/17/2025 | 06/17/2025 | 01/31/2026 | 03/31/2026 |
| [0.78](https://www.npmjs.com/package/react-native-windows/v/v0.78-stable) | [Active](#active-support) | 02/27/2025 | 02/27/2025 | 07/31/2025 | 09/30/2025 |
| [0.77](https://www.npmjs.com/package/react-native-windows/v/v0.77-stable) | [Unsupported](#unsupported) | 01/24/2025 | 01/24/2025 | 03/27/2025 | 05/31/2025 |
| [0.76](https://www.npmjs.com/package/react-native-windows/v/v0.76-stable) | [Unsupported](#unsupported) | 11/11/2024 | 11/11/2024 | 02/28/2025 | 04/30/2025 |
| [0.75](https://www.npmjs.com/package/react-native-windows/v/v0.75-stable) | [Unsupported](#unsupported) | 8/19/2024 | 8/19/2024 | 12/31/2024 | 02/28/2025 |

<!--
// We don't want the table to grow indefinitely, so only keep the last 5 stable (non-main) versions visible above, keep the rest here for posterity.
| [0.76](https://www.npmjs.com/package/react-native-windows/v/v0.76-stable) | [Unsupported](#unsupported) | 11/11/2024 | 11/11/2024 | 02/28/2025 | 04/30/2025 |
| [0.75](https://www.npmjs.com/package/react-native-windows/v/v0.75-stable) | [Unsupported](#unsupported) | 8/19/2024 | 8/19/2024 | 12/31/2024 | 02/28/2025 |
| [0.74](https://www.npmjs.com/package/react-native-windows/v/v0.74-stable) | [Unsupported](#unsupported) | 4/29/2024 | 4/29/2024 | 9/30/2024 | 11/30/2024 |
| [0.73](https://www.npmjs.com/package/react-native-windows/v/v0.73-stable) | [Unsupported](#unsupported) | 12/11/2023 | 12/11/2023 | 5/31/2024 | 7/31/2024 |
| [0.72](https://www.npmjs.com/package/react-native-windows/v/v0.72-stable) | [Unsupported](#unsupported) | 06/23/2023 | 06/23/2023 | 01/31/2024 | 03/31/2024 |
Expand Down
21 changes: 12 additions & 9 deletions website/sidebars.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"docs": {
"The Basics (Windows)": [
"The Basics": [
"getting-started",
"rnw-dependencies",
"react-native-windows-cli",
Expand All @@ -14,21 +14,21 @@
"app-publishing",
"supported-community-modules"
],
"CLI Commands (Windows)": [
"CLI Commands": [
"autolink-windows-cli",
"codegen-windows-cli",
"init-windows-cli",
"run-windows-cli"
],
"Native Development (Windows)": [
"Native Development": [
"native-platform",
"native-platform-getting-started",
"native-platform-modules",
"native-platform-components",
"native-platform-components-paper",
"native-platform-using"
],
"Advanced Topics (Windows)": [
"Advanced Topics": [
"win10-vm",
"hermes",
"NuGet"
Expand All @@ -40,7 +40,7 @@
"Legacy Docs": [
{
"type": "subcategory",
"label": "Native Modules (Windows)",
"label": "Native Modules",
"ids": [
"native-modules",
"view-managers",
Expand All @@ -54,7 +54,7 @@
},
{
"type": "subcategory",
"label": "Native Development (Windows)",
"label": "Native Development",
"ids": [
"native-code",
"native-code-language-choice",
Expand All @@ -69,18 +69,21 @@
]
},
"apis": {
"Components (Windows)": [
"Components": [
"flyout-component",
"glyph-component",
"popup-component",
"textinput-component"
],
"JavaScript API (Windows)": [
"JavaScript API": [
"apptheme-api",
"ikeyboardprops-api",
"iviewwindowsprops-api"
],
"Native API (Windows)": [
"New Architecture Property Support": [
"new-arch-missingProps"
],
"Native API": [
"native-api/Native-API-Reference",
{
"label": "Classes",
Expand Down
2 changes: 1 addition & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.

const defaultVersionShown = "0.79";
const defaultVersionShown = "0.80";
const repoUrl = "https://github.com/microsoft/react-native-windows";

const siteConfig = {
Expand Down
138 changes: 138 additions & 0 deletions website/versioned_docs/version-0.80/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
---
id: version-0.80-getting-started
title: Get Started with Windows
original_id: getting-started
---

![Architecture](https://img.shields.io/badge/architecture-new_&_old-green)

This guide will help you get started on setting up your very first React Native for Windows app.

Make sure you have installed all of the [development dependencies](rnw-dependencies.md).

For information around how to set up React Native, see the [React Native Getting Started Guide](https://reactnative.dev/docs/getting-started).

> **Interested in migrating to [React Native's New Architecture](https://reactnative.dev/architecture/landing-page)?** New Architecture support in React Native for Windows is now available to preview in 0.76. Note there are several key changes, so if you’d like to be an early adopter, check out the information in the [New Architecture Guide](new-architecture.md).

## Create a new React Native project

Call the following from the place where you want your project directory to live:

<!-- Note, make sure both `@react-native-community/cli@ABC` and `--version "XYZ"` are pointing to the correct NPM tags in the command below. -->

<!-- 1. For the next version (i.e. in docs/getting-started.md) use "next" for the CLI and "nightly" for the RN version -->
<!-- 2. For stable versions in versioned_docs use "latest" for the CLI and the semantic version, i.e. "^0.73.0" for the RN version -->

<!-- See https://www.npmjs.com/package/@react-native-community/cli?activeTab=versions for the CLI version tags. -->
<!-- See https://www.npmjs.com/package/react-native?activeTab=versions for the RN version tags. -->

```bat
npx --yes @react-native-community/cli@latest init <projectName> --version "^0.80.0"
```

### Navigate into this newly created directory

The command will create your project in a new sub-directory, which you must enter before continuing:

```bat
cd <projectName>
```

### Add React Native Windows to your project's dependencies

<!-- Note, make sure "version" is pointing to the correct react-native-windows NPM tag in the command below. -->

<!-- 1. For the next version (i.e. in docs/getting-started.md) use "canary" -->
<!-- 2. For other versions in versioned_docs use the version in the format "^0.XY.0" -->

Next you'll want to add `react-native-windows` as a dependency:

<!--DOCUSAURUS_CODE_TABS-->

<!--Using Yarn (Recommended)-->

```bat
yarn add react-native-windows@^0.80.0
```

<!--Using NPM-->

```bat
npm install --save react-native-windows@^0.80.0
```

<!--END_DOCUSAURUS_CODE_TABS-->

### Initialize the React Native Windows native code and projects

Lastly, initialize the React Native for Windows application with the [init-windows command](init-windows-cli.md):

```bat
npx react-native init-windows --overwrite
```

> **Note:** RNW templates contain a customized `metro.config.js` file, which is meant to merge cleanly into the default config provided by the standard React Native project template. If you are starting a new app, overwriting `metro.config.js` should have no impact. However, if you are adding Windows to an existing app with an already modified `metro.config.js` file, please make sure to back up and re-apply your modifications after adding RNW.

## Running a React Native Windows App

> Make sure a browser is launched and running before running a React Native Windows app.
> Also ensure your system meets all the [requirements](rnw-dependencies.md) to build a Windows app as well.

- Without Using Visual Studio

In your React Native Windows project directory, run the [run-windows command](run-windows-cli.md):

```bat
npx react-native run-windows
```

A new Command Prompt window will open with the React packager as well as your React Native for Windows app. This step may take a while during first run since it involves building the entire project and all dependencies. You can now start developing! :tada:

- Using Visual Studio

- From the root of the project directory, run the [autolink-windows command](autolink-windows-cli.md), which will automatically link your app's dependencies:
```bat
npx react-native autolink-windows
```
- Open the solution file in the application folder in Visual Studio (e.g., `AwesomeProject/windows/AwesomeProject.sln` if you used `AwesomeProject` as `<projectName>`)
- Select the `Debug` configuration and the `x64` platform from the combo box controls to the left of the `Run` button and underneath the `Team` and `Tools` menu item.
- Run `yarn start` (or `npm start`) from your project directory, and wait for the React Native packager to report success.
- Click the `Run` button to the right of the platform combo box control in VS, or select the `Debug`->`Start without Debugging` menu item. You now see your new app and Chrome should have loaded `http://localhost:8081/debugger-ui/` in a new tab. Press `F12` or `Ctrl+Shift+I` in Chrome to open its Developer Tools. :tada:

- With VS Code
- Open your applications folder in VS Code.
- Install the [React Native Tools](https://marketplace.visualstudio.com/items?itemName=msjsdiag.vscode-react-native) plugin for VS Code.
- Create a new file in the applications root directory, `.vscode/launch.json` and paste the following configuration:
```json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Windows",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "windows"
}
]
}
```
- Press `F5` or navigate to the debug menu (alternatively press `Ctrl+Shift+D`) and in the Debug drop-down select "Debug Windows" and press the green arrow to run the application.

## Authoring Native Modules

See [Native Platform: Overview](native-platform.md).

## Building a standalone React Native Windows App

Follow these steps to build a version of your app that you can install or publish to the store. This version will package your bundle and assets into the APPX package so you don't need to run Metro.

- Open the solution in Visual Studio
- Select the Release configuration from the Configuration Manager drop-down.
- Build the solution. You can now launch without first launching Metro.
- If you want to build an APPX package to share or publish, use the **Project** > **Publish** > **Create App Packages...** option.

> The Debug configuration uses the Web Debugger by default, which means the application's JavaScript code runs in Chrome.<br>
> If you're getting different runtime behavior between the Release and Debug configurations, consider disabling the `UseWebDebugger` setting in [`App.cpp`](https://github.com/microsoft/react-native-windows/blob/6b415659aa017dbc41e3f28e817fb768a8e80435/vnext/template/cpp-app/src/App.cpp#L30) or [`App.xaml.cs`](https://github.com/microsoft/react-native-windows/blob/6b415659aa017dbc41e3f28e817fb768a8e80435/vnext/template/cs-app/src/App.xaml.cs#L20) to get the same behavior in the Debug configuration.

See also this article for additional details: https://techcommunity.microsoft.com/t5/windows-dev-appconsult/getting-started-with-react-native-for-windows/ba-p/912093#
Loading