A framework for building native Windows apps with React.
Перейти к файлу
Jon Thysell d348e6d470
Bump serve-static to resolve Component Governance alerts (#13856)
## Description

Bumps the version of `serve-static` and `send` to address CVE-2024-43799 and CVE-2024-43800.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
Resolve Component Governance security alerts.

### What
Bumped yarn.lock versions

## Screenshots
N/A

## Testing
N/A

## Changelog
Should this change be included in the release notes: _no_
2024-09-13 14:35:54 -07:00
.ado Fix packages.lock.json detection in msbuild-sln.yml 2024-09-11 16:01:29 -07:00
.github Integrate RN Nightly 7/1 (#13508) 2024-08-07 16:13:28 -07:00
.vscode Integrate RN Nightly Build 8/24 (#13627) 2024-09-04 09:31:33 -07:00
change [Fabric] Add FocusNavigationDirection and allow overriding of default command handling (#13857) 2024-09-13 14:03:55 -07:00
docs Integrate RN Nightly 7/1 (#13508) 2024-08-07 16:13:28 -07:00
packages [Fabric] Add FocusNavigationDirection and allow overriding of default command handling (#13857) 2024-09-13 14:03:55 -07:00
vnext [Fabric] Add FocusNavigationDirection and allow overriding of default command handling (#13857) 2024-09-13 14:03:55 -07:00
.clang-format Consolidate duplicated clang-format files (#7021) 2021-02-03 13:15:16 -08:00
.cspell.json Patch fmt and folly files with CodeQL fixes (#13281) 2024-05-29 14:50:04 -07:00
.editorconfig Have RCTNetworking.win32 fork RCTNetworking.ios (#12199) 2023-10-02 18:18:28 -07:00
.gitattributes Enable ability to codegen JSI C++ TurboModule specs (#10909) 2022-11-20 08:39:09 -08:00
.gitignore Enable integration test web application (#12714) 2024-03-20 22:42:33 +00:00
.ignore Fix search of react-native module code in vscode (#11088) 2023-01-14 19:13:08 +00:00
.prettierrc Use prettier-plugin-hermes-parser to match upstream settings (#12599) 2024-06-04 19:40:48 +00:00
.spelling Spellcheck update 7/11/2023 (#11894) 2023-07-19 11:36:56 -07:00
.unbroken_exclusions Introduce a RNW Fabric Sample App (#13198) 2024-05-09 19:17:43 -07:00
.yarnrc.yml npm postinstall and preinstall scripts pose a potential attack vector. We previously disabled their use in our repo, but I enabled them so we could use patch-package, to alter Picker for consumption in our repo. All changes have landed upstream, so we shouldn't need to do this anymore. (#9061) 2021-11-05 08:42:58 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md (#10065) 2022-06-07 16:42:52 +00:00
CodeQL.yml Introduce a RNW Fabric Sample App (#13198) 2024-05-09 19:17:43 -07:00
Directory.Build.props Fix `yarn install` run in VS project builds (#10747) 2022-10-24 19:49:17 +00:00
Directory.Build.targets Port Desktop DLL to ARM64EC (#13320) 2024-06-10 15:55:29 -07:00
GuardianCustomConfiguration.json Add default Guardian v2 auto-inject disabled config 2023-06-06 11:49:22 -07:00
LICENSE fix(LICENSE): Remove FacebookLicense folder, all local source code now MIT 2018-03-06 08:19:39 -05:00
NuGet.Config [Fabric] Adds an example of using XamlIslands within fabric (#12589) 2024-01-22 17:02:51 -08:00
README.md Readme refresh (#13256) 2024-06-25 11:05:26 -07:00
beachball.config.js Add beachball change transformer (#9488) 2022-02-12 15:11:21 +00:00
jest.config.js Don't try to run Jest Tests From the Repo Root (#5462) 2020-07-08 17:31:51 -07:00
lage.config.js Ensure `yarn windows` and `Visual Studio` restore `packages.config` projects (#9401) 2022-01-21 08:21:00 +00:00
logo.png 🎨 Add Hero and Logo (#457) 2016-06-03 15:03:03 -04:00
package.json Integrate RN Nightly Build 8/31 (#13654) 2024-09-06 12:26:29 -07:00
yarn.lock Bump serve-static to resolve Component Governance alerts (#13856) 2024-09-13 14:35:54 -07:00

README.md

Hero Image with Logo

React Native for Windows

Follow @windowsui

Website · Documentation · Release notes

See the official React Native website for an introduction to React Native.

React Native is a framework developed by Meta that enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere.

This repository adds support for the Windows 10 SDK, which allows you to build apps for all devices supported by Windows 10 including PCs, tablets, 2-in-1s, Xbox, Mixed reality devices etc.

Visit the official React Native for Windows + macOS website to learn more.

🛣️ Roadmap

Check out our blog if you'd like to stay up to date on the status of React Native for Windows and check out current and past roadmaps.

New Architecture

Fabric is the new rendering system for React Native, designed to share more rendering logic cross-platform. RNW's existing Paper renderer is built on UWP XAML, dropping down into native Composition as need be; the new RNW Fabric renderer targets Composition from the start but has the ability to host islands of XAML for advanced native controls. Apps on the new architecture will be WinAppSDK Win32 by default. For more details on our roadmap to Fabric, check out this pinned issue.

Make sure to also check out the React Native Gallery, our interactive sample experience showing everything you can do with React Native for Windows.

WinUI 3 Gallery


📋 Getting Started

See the Getting Started Guide on our React Native for Windows + macOS website to build your first React Native for Windows app.

Requirements

You can run React Native Windows apps only on devices supported by the Windows 10 SDK.

For a full and detailed list of the system requirements and how to set up your development platform, see our System Requirements documentation on our website.

Logging Issues

Search the existing issues and try to make sure your problem doesnt already exist before opening a new issue. If your issue doesn't exist yet, provide as much information as possible so we can better help you. Include the information requested by the appropriate issue template.

Documentation

React Native has great documentation. React Native for Windows adds its own separate Windows and macOS documentation for desktop platform information like API docs and blog updates.

Examples

  • Using the CLI in the Getting Started guide will set you up with a sample React Native for Windows app that you can begin editing right away.
  • Check the samples repo for more standalone samples.
  • The React Native Gallery app demonstrates various components in an interactive way.
  • Check out the React Native Developer Blog to see examples from past conference talks, blog posts, and more.
  • For more sample code browse the RNTester folder in the GitHub web UI.

📢 Contributing

See Contributing guidelines for how to setup your fork of the repo and start a PR to contribute to React Native for Windows.

Not sure where to start? The good first issue and help wanted labels are the best starting points.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.