react-native-windows README

The project's README from github.com/microsoft/react-native-windows. As one markdown file: README.md.

Hero Image with Logo

React Native for Windows

Follow @ReactNativeMSFT

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 doesn’t 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

📢 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 [email protected] with any additional questions or comments.

react-native-windows (microsoft/react-native-windows)

Searching Database…

Что это такое?Фреймворк от Microsoft для создания нативных Windows-приложений на JavaScript и React. Он расширяет React Native от Meta на все устройства, которые поддерживает Windows 10 SDK: ПК, планшеты, трансформеры 2-в-1, Xbox и устройства смешанной реальности.
Это тот же React Native, что я бы использовал для iOS и Android — то есть писать я всё равно буду на JavaScript?Да — тот же опыт разработки, что и в React Native от Meta: интерфейс собирается на JavaScript и React («выучи один раз, пиши где угодно»). Этот репозиторий добавляет сам нативный рантайм для Windows — поэтому большая часть его кода написана на C++.
Как собрать с его помощью своё первое приложение?Пройдите руководство Getting Started на официальном сайте React Native for Windows + macOS — его CLI разворачивает готовое приложение-образец, которое можно сразу редактировать. Больше примеров лежит в репозитории samples и в RNTester.
Что мне нужно для разработки и где будет работать моё приложение?Разработка ведётся на Windows с Windows 10 SDK; полный чек-лист настройки есть в документе System Requirements на сайте. Готовые приложения работают только на устройствах, которые поддерживает этот SDK.
Моё приложение получится как UWP или как обычное настольное Win32-приложение?Это зависит от поколения архитектуры: старый рендерер Paper построен на UWP XAML, а приложения на новой архитектуре Fabric по умолчанию получают WinAppSDK Win32 — именно этого стоит ожидать от новых проектов.
Можно ли до старта проекта почувствовать, что вообще возможно?Да — откройте React Native Gallery, интерактивное приложение-образец, показывающее возможности React Native for Windows, либо посмотрите RNTester и отдельный репозиторий с примерами.
Означает ли macOS в названии проекта, что мои приложения смогут работать и на Mac?Проект охватывает обе настольные платформы: на общем сайте есть отдельная документация по платформенным API для Windows и macOS, а также обновления в блоге. Этот репозиторий — Windows-часть этой работы.
Что такое рендереры Paper и Fabric?Paper — текущий рендерер, а Fabric — новая система отрисовки, спроектированная так, чтобы делить больше логики между платформами: она изначально нацелена на Composition и умеет встраивать островки XAML для продвинутых нативных элементов управления.
Почему выбрать это, а не написать нативное Windows-приложение напрямую?Главный аргумент — эффективность разработки: интерфейс собирается на JavaScript и React с единым и предсказуемым опытом разработки, вместо того чтобы вручную писать нативный слой интерфейса под каждую платформу.
Проект ещё активно развивается?Да — это репозиторий под поддержкой Microsoft с более чем 17 000 звёзд. Планы развития и новости о статусе публикуются в React Native Developer Blog, а CI гоняет сборки, линтер, тесты производительности и проверки зависимостей.
Creator
microsoft
Size
377.7 MB
Stars
17.4K
Age
10y
Commits · 90 Days