Summary: Bumps [metro-config](https://github.com/facebook/metro) from 0.72.0 to 0.72.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p> <blockquote> <h2>Release v0.72.3</h2> <ul> <li><strong>[Fix]</strong>: Incremental build crashing when garbage collecting modules reachable via multiple paths in the graph. (<a href="50bb451e9c</a>)</li> <li>Updated metro logo on startup</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.72.2...v0.72.3">https://github.com/facebook/metro/compare/v0.72.2...v0.72.3</a></p> <h2>Release 0.72.2</h2> <ul> <li><strong>[Feature]</strong> Pass <a href="https://facebook.github.io/metro/docs/resolution/#customresolveroptions-string-mixed"><code>customResolverOptions</code></a> from bundle URL into <code>resolveRequest</code> (<a href="623b55d548</a>)</li> <li><strong>[Performance]</strong> Load <code>hermes-parser</code> conditionally when hermes is enabled (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/855">facebook/metro#855</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li> <li><strong>[Performance]</strong> Lazily import <code>metro-hermes-compiler</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/856">facebook/metro#856</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li> </ul> <p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.1%E2%80%A6v0.72.2"><code>v0.72.1...v0.72.2</code></a></p> <h2>Release v0.72.1</h2> <ul> <li><strong>[Feature]</strong> Expose the <code>react-refresh/runtime</code> module as part of the <code>metro-runtime</code> package</li> </ul> <blockquote> <p>NOTE: Experimental features are not covered by semver and can change at any time.</p> </blockquote> <ul> <li><strong>[Experimental]</strong> Add <code>require.context</code> support (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/822">facebook/metro#822</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li> </ul> <p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.0%E2%80%A6v0.72.1"><code>v0.72.0...v0.72.1</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f9aaca6f47"><code>f9aaca6</code></a> Release 0.72.3</li> <li><a href="4758e3771b"><code>4758e37</code></a> update version tool add missing package</li> <li><a href="384e3ee4cb"><code>384e3ee</code></a> Remove unused Flow suppressions</li> <li><a href="b5847b3bd7"><code>b5847b3</code></a> Prepare for Jest 27+</li> <li><a href="19d364816a"><code>19d3648</code></a> Remove various unused $FlowFixMes</li> <li><a href="50bb451e9c"><code>50bb451</code></a> Fix crash when GCing modules reachable via multiple paths</li> <li><a href="e9ee037c4a"><code>e9ee037</code></a> Update ASCII art logo, print version when starting up</li> <li><a href="e5f9b1e65b"><code>e5f9b1e</code></a> metro-react-native-interop-tools added literal error</li> <li><a href="3215ff468d"><code>3215ff4</code></a> Fix hero buttons responsive layout</li> <li><a href="299512936e"><code>2995129</code></a> metro-react-native-interop-tools modified the error structure</li> <li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.72.0...v0.72.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/4110 Reviewed By: antonk52 Differential Revision: D39933630 Pulled By: antonk52 fbshipit-source-id: 75239a63c65836d5657bc8541b4379e5751e58f9
react-native-flipper
This package exposes JavaScript bindings to talk from React Native JavaScript directly to flipper.
This package might also be required by other Flipper plugins for React Native.
Installation
Run the following command in the root of your React Native project
yarn add react-native-flipper
Note that this package requires React Native 0.62 or higher.
Usage
How to build Flipper plugins is explained in the flipper documentation: Creating a Flipper plugin. Building a Flipper plugin involves building a plugin for the Desktop app, and a plugin that runs on a Device (Native Android, Native IOS or React Native). This package is only needed for the plugin that runs on the mobile device, in React Native, and wants to use the JavaScript bridge.
This package exposes one method: addPlugin.
The addPlugin accepts a plugin parameter, that registers a client plugin and will fire the relevant callbacks if the corresponding desktop plugin is selected in the Flipper Desktop. The full plugin API is documented here.
Example
An example plugin can be found in FlipperTicTacToe.js.
The corresponding Desktop plugin ships by default in Flipper, so importing the above file and dropping the <FlipperTicTacToe /> component somewhere in your application should work out of the box.
The sources of the corresponding Desktop plugin can be found here.