Skip to content

fix: restore Android View props on React Native 0.87 - #1661

Open
hannojg wants to merge 4 commits into
hannojg/nitro-android-props-build-flagfrom
hannojg/fix-nitro-view-dynamic-props
Open

hannojg wants to merge 4 commits into
hannojg/nitro-android-props-build-flagfrom
hannojg/fix-nitro-view-dynamic-props

Conversation

@hannojg

@hannojg hannojg commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

In:

meta removed calling initializeDynamicProps(..) in the Props constructor. For their purposes this was fine, however, we rely on this being called to initialize the folly::dynamic rawProps inside Props.h.

This PR:

  • Manually calls this on RN 0.87
  • Does a correctness fix as this was already broken on lower RN versions when a certain feature flag is active

Fixes:

For making sure AI doesn't get prop handling wrong in the future i added this test, which should be merged as well:

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
nitro-docs Skipped Skipped Sep 26, 2026 10:58pm UTC

Request Review

@hannojg
hannojg marked this pull request as draft September 26, 2026 19:58
@hannojg
hannojg force-pushed the hannojg/fix-nitro-view-dynamic-props branch from cd8c32b to bbc289c Compare September 26, 2026 22:15
@hannojg
hannojg changed the base branch from main to hannojg/nitro-android-props-build-flag September 26, 2026 22:16
@hannojg
hannojg force-pushed the hannojg/fix-nitro-view-dynamic-props branch from bbc289c to 4101400 Compare September 26, 2026 22:24
@hannojg
hannojg force-pushed the hannojg/fix-nitro-view-dynamic-props branch from 4101400 to 05eb5cd Compare September 26, 2026 22:29
@hannojg
hannojg force-pushed the hannojg/fix-nitro-view-dynamic-props branch from 05eb5cd to 5e92d2e Compare September 26, 2026 22:35
@hannojg
hannojg added this pull request to stack #1664 September 26, 2026 22:40

This branch was previously deployed

1 inactive deployment
Preview — ff79274b Deployed Sep 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant