mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41981 Improved RNTester URL deeplink support to cover: * `rntester://example/<moduleKey>` * `rntester://example/<moduleKey>/<exampleKey>` Extra details: * For example modules that do not specify `showIndividualExamples: true`, allow deeplink URL with the specific exampleKey to only render the specific example, instead of all of them. * Added flexibility for moduleKey: search for optional suffixes ("Index", "Example"). * Adjusted Back button action to properly go back to the root after a deeplink. * Added `example-container` generic testID on the example wrapper component. Changelog: [Internal] Reviewed By: yungsters, NickGerleman Differential Revision: D52227013 fbshipit-source-id: 4ba050592f39d6895f5124fa25c77f2d0199aa3f