mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Adds `getConcretePropsShared()` to `ConcreteShadowNode.h`. I need this in Nitro Views to update state in-place without throwing away the old state object and creating a new one each time. From reading the code it seems like you use this pattern a lot tho where you create new State objects each time - so let me know if my thing is a bad idea.. ## Changelog: - [INTERNAL] [ADDED] Add `getConcretePropsShared()` to `ConcreteShadowNode.h` <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: https://github.com/facebook/react-native/pull/48710 Test Plan: Use in Nitro Reviewed By: sammy-SC Differential Revision: D68495697 Pulled By: javache fbshipit-source-id: e2caa34befcaef2191ec161442c40596cc7de132