SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Add JSI_UNSTABLE flag (#54547)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54547

We want to have a proper way of releasing new JSI features, rather than
releasing into JSI as they are added.

To do this, we are adding a new `JSI_UNSTABLE` flag that will gate new
features. Until Hermes releases a new version, all of these "unstable"
features are subject to change. Interfaces may be modified, API behavior
may be changed, etc.

When Hermes release a new version, the new additions will be moved out
of the "unstable" status and become frozen.

This diff adds the `JSI_UNSTABLE` flag to JSI and adds corresponding
changes to the BUCK build. Later diffs will use this gate new APIs.

Changelog: [Internal]

Reviewed By: lavenzg

Differential Revision: D85915163

fbshipit-source-id: b2f754af4bb53db8dfe837e3ea2e2543d691754d
C
Chi Tsai committed
d52b9d2f8636b7c49c2f613faf48de6ccf03f6f9
Parent: 2d6a323
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 11/16/2025, 1:50:26 AM