A framework for building native Windows apps with React.
Перейти к файлу
Danny van Velzen 🁴 b0e70f4d0a 2024-08-01 11:34:53 -07:00
.ado 2024-08-01 11:34:53 -07:00
.github Add new issue template for integrations (#13489) 2024-07-25 13:17:53 -07:00
.vscode Add ARM64 to new arch templates (#12635) 2024-01-25 11:32:49 -08:00
docs Readme refresh (#13256) 2024-06-25 11:05:26 -07:00
packages applying package updates ***NO_CI*** 2024-07-27 05:13:55 +00:00
vnext applying package updates ***NO_CI*** 2024-07-27 05:13:55 +00:00
.clang-format
.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
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
lage.config.js Ensure `yarn windows` and `Visual Studio` restore `packages.config` projects (#9401) 2022-01-21 08:21:00 +00:00
logo.png
package.json SFI: Component Governance fixes 6/19/24 (#13367) 2024-06-20 12:56:59 -07:00
yarn.lock 📦 Bump @react-native-community/template from 0.75.0-rc.5 to 0.75.0-rc.6 (#13513) 2024-07-30 08:21:17 -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.