SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Add `Array.push` API (#53762)

Summary:

Currently, the size of a jsi `Array` is immutable. Once the `Array` is
created, users can only set the element at an existing index, but not
append to it.

This change adds an `Array::push` API to improve ergonomics.
The default implementation is also provided in `jsi::Runtime`

Changelog: [Internal]

Reviewed By: lavenzg

Differential Revision: D82254334
C
Chi Tsai committed
1132306da404fdba5c20fd833d168553f1b3d350
Parent: 6759ec4
Committed by Facebook GitHub Bot <[email protected]> on 3/19/2026, 4:51:22 PM