跳到主要内容

24 篇博文 含有标签「announcement」

查看所有标签

React Native Comes to Meta Quest

· 阅读需 9 分钟
Łukasz Chludziński
Łukasz Chludziński
Engineering Manager @ Callstack
Jan Jaworski
Jan Jaworski
Software Engineer @ Callstack
Markus Leyendecker
Markus Leyendecker
Product Manager @ Meta

React Native has always focused on helping developers reuse knowledge across platforms. What started with Android and iOS has steadily expanded to Apple TV, Windows, macOS, and even the web with react-strict-dom. In 2021, the Many Platform Vision post outlined a future where React Native could adapt to new devices and form factors without fragmenting the ecosystem.

At React Conf 2025, we took another step toward that vision by announcing official React Native support for Meta Quest devices. This post focuses on how to get started with React Native on Meta Quest, what works today, and how developers can build and ship VR apps using familiar tools and patterns.

React Native 0.84 - Hermes V1 by Default

· 阅读需 7 分钟
Alex Hunt
Alex Hunt
Software Engineer @ Meta
Alan Lee
Alan Lee
Software Engineer @ Meta
Christian Falch
Christian Falch
Software Engineer @ Expo
Gabriel Donadel Dall'Agnol
Gabriel Donadel Dall'Agnol
Software Engineer @ Expo

Today we're excited to release React Native 0.84!

This release makes Hermes V1 the default JavaScript engine, bringing significant performance improvements to all React Native apps. We've also continued removing the Legacy Architecture on both iOS and Android, and are shipping precompiled iOS binaries by default.

Highlights

React Native 0.83 - React 19.2,新 DevTools 功能,无破坏性变更

· 阅读需 11 分钟
Alex Hunt
Alex Hunt
Software Engineer @ Meta
Riccardo Cipolleschi
Riccardo Cipolleschi
Software Engineer @ Meta
Gabriel Donadel Dall'Agnol
Gabriel Donadel Dall'Agnol
Software Engineer @ Expo
Alan Hughes
Alan Hughes
Software Engineer @ Expo

今天我们很高兴发布 React Native 0.83!

该版本包含 React 19.2,为 React Native DevTools 带来了显著的新功能,并支持 Web Performance 和 Intersection Observer API(Canary)。这也是首个没有用户可感知破坏性变更的 React Native 版本。

亮点

迈向稳定的 JavaScript API(0.80 版本的新变更)

· 阅读需 10 分钟
Alex Hunt
Alex Hunt
Software Engineer @ Meta
Iwo Plaza
Iwo Plaza
Software Engineer @ Software Mansion
Jakub Piasecki
Jakub Piasecki
Software Engineer @ Software Mansion
Dawid Małecki
Dawid Małecki
Software Engineer @ Software Mansion

在 React Native 0.80 版本中,我们引入了 React Native JavaScript API 的两项重要变更——弃用深度导入以及我们的新 Strict TypeScript API。这些都是为精确定义我们的 API 并为用户和框架提供可靠的类型安全所做的持续努力的一部分。

快速摘要:

  • 弃用深度导入:从 0.80 版本开始,我们对从 react-native 包的深度导入引入弃用警告。
  • 可选的 Strict TypeScript API:我们转向基于源码的 TypeScript 类型以及新的 TypeScript 下的公共 API 基线。这能实现更强且更具未来适应性的类型准确性,将作为一次性破坏性变更。可通过项目的 tsconfig.json 中的 compilerOptions 进行选择启用
  • 我们将与社区合作,确保这些变更适用于所有人,然后在未来的 React Native 版本中默认启用 Strict TypeScript API。

新架构来了

· 阅读需 22 分钟
The React Team
The React Team
@reactjs / @reactnative

React Native 0.76 默认启用的新架构现已在 npm 上可用!

0.76 版本博客文章中,我们分享了该版本中的一系列重要变化。在本文中,我们将概述新架构及其如何塑造 React Native 的未来。

新架构全面支持现代 React 特性,包括 SuspenseTransitions自动批处理useLayoutEffect。新架构还包含了新的 Native ModuleNative Component 系统,使您能够编写具有类型安全的代码,直接访问原生接口而无需桥接。

这次发布是 React Native 自 2018 年以来全面重写的成果,我们特别注意使新架构成为大多数应用的渐进式迁移。2021 年,我们创建了新架构工作组,与社区合作保证整个 React 生态系统的平滑升级体验。

大多数应用能够以跟其他版本相同的努力采用 React Native 0.76。最受欢迎的 React Native 库已经支持了新架构。新架构还包含了一个自动互操作层,用于实现与旧架构库的向后兼容。

React Native 核心贡献者峰会 2022

· 阅读需 8 分钟
Michał Pierzchała
Michał Pierzchała
Head of Technology @ Callstack
Nicola Corti
Nicola Corti
Software Engineer @ Meta

经过多年疫情和线上活动,我们真的觉得是时候让 React Native 的核心贡献者聚在一起了!

因此,在九月初,我们聚集了一些活跃的 React Native 核心贡献者、库维护者,以及 Meta 的 React Native 和 Metro 团队,举办了核心贡献者峰会 2022。本次峰会由 Callstack 在其位于波兰弗罗茨瓦夫的总部举办,作为同期举行的 React Native EU 会议的一部分。

我们与 React Native 核心团队一起设计了一系列工作坊,供参会者参与。议题包括:

  • React Native 代码生成器(Codegen)及 TypeScript 支持
  • React Native 新架构库迁移
  • React Native 多包仓库(Monorepo)
  • Metro Web 及生态系统对齐
  • Metro 简化发布流程

这两天里我们对丰富的知识分享和协作印象深刻。在这篇博文中,我们想带你提前了解这次聚会的成果。

React Native 的多平台愿景

· 阅读需 9 分钟
Christine Abernathy
Christine Abernathy
Developer Advocate @ Meta
Eli White
Eli White
Software Engineer @ Meta
Luna Wei
Luna Wei
Software Engineer @ Meta
Timothy Yung
Timothy Yung
Software Engineer @ Meta

React Native 在提升移动开发水平方面取得了巨大成功,无论是在 Facebook 还是在整个行业内。随着我们以新的方式与计算机互动,以及新设备的不断发明,我们希望 React Native 能够服务于每一个人。尽管 React Native 最初是为构建移动应用而创建,我们相信专注于多平台并针对每个平台的优势和限制构建会产生共生效应。当我们将这项技术扩展到桌面和虚拟现实领域时,已经看到了巨大的好处,我们很高兴与大家分享这对 React Native 未来意味着什么。