Summary: Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.26.1 to 7.28.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/releases">eslint-plugin-react's releases</a>.</em></p> <blockquote> <h2>v7.28.0</h2> <h2>What's Changed</h2> <ul> <li>[New] component detection: track React imports by <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3149">yannickcr/eslint-plugin-react#3149</a></li> <li>[New] <code>function-component-definition</code>: support <code>namedComponents</code> option being an array by <a href="https://github.com/petersendidit"><code>@petersendidit</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3129">yannickcr/eslint-plugin-react#3129</a></li> <li>[Test] parsers.all augments suggestion code output by <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3154">yannickcr/eslint-plugin-react#3154</a></li> <li>[Fix] <code>jsx-indent-props</code>: Reset <code>line.isUsingOperator</code> correctly after ternary (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3146">https://github.com/facebook/flipper/issues/3146</a>) by <a href="https://github.com/tobiaswaltl"><code>@tobiaswaltl</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3157">yannickcr/eslint-plugin-react#3157</a></li> <li>[New] Component detection: add <code>util.isReactHookCall</code> by <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3156">yannickcr/eslint-plugin-react#3156</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tobiaswaltl"><code>@tobiaswaltl</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3157">yannickcr/eslint-plugin-react#3157</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.1...v7.28.0">https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.1...v7.28.0</a></p> <h2>v7.27.1</h2> <h2>What's Changed</h2> <ul> <li>[Fix] <code>no-unused-class-component-methods</code>: add getChildContext lifecycle method by <a href="https://github.com/yoyo837"><code>@yoyo837</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3136">yannickcr/eslint-plugin-react#3136</a></li> <li>[readme] fix syntax typo by <a href="https://github.com/moselhy"><code>@moselhy</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3141">yannickcr/eslint-plugin-react#3141</a></li> <li>[Fix] <code>prop-types</code>: fix false positives on renames in object destructuring by <a href="https://github.com/golopot"><code>@golopot</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3142">yannickcr/eslint-plugin-react#3142</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/moselhy"><code>@moselhy</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3141">yannickcr/eslint-plugin-react#3141</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.0...v7.27.1">https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.0...v7.27.1</a></p> <h2>v7.27.0</h2> <h2>What's Changed</h2> <ul> <li>[New] add <code>no-unused-class-component-methods</code> by <a href="https://github.com/pawelnvk"><code>@pawelnvk</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2239">yannickcr/eslint-plugin-react#2239</a></li> <li>[New] Add <code>no-arrow-function-lifecycle</code> rule by <a href="https://github.com/ngtan"><code>@ngtan</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1980">yannickcr/eslint-plugin-react#1980</a></li> <li>[react/jsx-uses-vars]: False negative on HTML elements used in JSX by <a href="https://github.com/karlhorky"><code>@karlhorky</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2916">yannickcr/eslint-plugin-react#2916</a></li> <li>[Fix] <code>propTypes</code>: add <code>VoidFunctionComponent</code> to react generic list by <a href="https://github.com/vedadeepta"><code>@vedadeepta</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3092">yannickcr/eslint-plugin-react#3092</a></li> <li>[Fix] <code>no-arrow-function-lifecycle</code>: prevent crashing on ClassProperty by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3098">yannickcr/eslint-plugin-react#3098</a></li> <li>[Dev Deps] Upgrade <code>eslint-plugin-eslint-plugin</code> to v4 by <a href="https://github.com/bmish"><code>@bmish</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3105">yannickcr/eslint-plugin-react#3105</a></li> <li>[Tests] use parsers.all + features to maximally repeat test cases across parsers, plus fixes by <a href="https://github.com/ljharb"><code>@ljharb</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3108">yannickcr/eslint-plugin-react#3108</a></li> <li>[Fix] <code>display-name</code>: unwrap TS <code>as</code> expressions by <a href="https://github.com/ljharb"><code>@ljharb</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3110">yannickcr/eslint-plugin-react#3110</a></li> <li>[Fix] <code>no-unstable-components</code>: improve handling of objects containing render functions by <a href="https://github.com/fizwidget"><code>@fizwidget</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3111">yannickcr/eslint-plugin-react#3111</a></li> <li>[Fix] <code>prop-types</code>, <code>propTypes</code>: add forwardRef<!-- raw HTML omitted --> prop-types by <a href="https://github.com/vedadeepta"><code>@vedadeepta</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3112">yannickcr/eslint-plugin-react#3112</a></li> <li>[Tests] test on the new babel eslint parser by <a href="https://github.com/ljharb"><code>@ljharb</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3113">yannickcr/eslint-plugin-react#3113</a></li> <li>[Dev Deps] update <code>eslint-remote-tester</code> by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3118">yannickcr/eslint-plugin-react#3118</a></li> <li>[New] add <code>no-invalid-html-attribute</code> rule by <a href="https://github.com/Nokel81"><code>@Nokel81</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2863">yannickcr/eslint-plugin-react#2863</a></li> <li>[Dev Deps] update <code>eslint-remote-tester-run-action</code> by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3120">yannickcr/eslint-plugin-react#3120</a></li> <li>[Fix] <code>destructuring-assignment</code>, component detection: improve component detection by <a href="https://github.com/vedadeepta"><code>@vedadeepta</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3122">yannickcr/eslint-plugin-react#3122</a></li> <li>[Docs] <code>jsx-no-target-blank</code>: adjust options description by <a href="https://github.com/gebsh"><code>@gebsh</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3124">yannickcr/eslint-plugin-react#3124</a></li> <li>[New] support eslint 8.x by <a href="https://github.com/MichaelDeBoey"><code>@MichaelDeBoey</code></a> in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3059">yannickcr/eslint-plugin-react#3059</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ngtan"><code>@ngtan</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1980">yannickcr/eslint-plugin-react#1980</a></li> <li><a href="https://github.com/karlhorky"><code>@karlhorky</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2916">yannickcr/eslint-plugin-react#2916</a></li> <li><a href="https://github.com/bmish"><code>@bmish</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3105">yannickcr/eslint-plugin-react#3105</a></li> <li><a href="https://github.com/fizwidget"><code>@fizwidget</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3111">yannickcr/eslint-plugin-react#3111</a></li> <li><a href="https://github.com/gebsh"><code>@gebsh</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3124">yannickcr/eslint-plugin-react#3124</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.1...v7.28.0">7.28.0</a> - 2021.12.22</h2> <h3>Added</h3> <ul> <li>[<code>function-component-definition</code>]: support namedComponents option being an array (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3129">https://github.com/facebook/flipper/issues/3129</a>[] <a href="https://github.com/petersendidit"><code>@petersendidit</code></a>)</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>jsx-indent-props</code>]: Reset <code>line.isUsingOperator</code> correctly after ternary (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3146">https://github.com/facebook/flipper/issues/3146</a>[] <a href="https://github.com/tobiaswaltl"><code>@tobiaswaltl</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[Refactor] [<code>no-arrow-function-lifecycle</code>], [<code>no-unused-class-component-methods</code>]: use report/messages convention (<a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[Tests] component detection: Add testing scaffolding (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>[] <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a>)</li> <li>[New] component detection: track React imports (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>[] <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a>)</li> <li>[New] component detection: add <code>util.isReactHookCall</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3156">https://github.com/facebook/flipper/issues/3156</a>[] <a href="https://github.com/duncanbeevers"><code>@duncanbeevers</code></a>)</li> </ul> <p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3156">https://github.com/facebook/flipper/issues/3156</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3156">yannickcr/eslint-plugin-react#3156</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3149">yannickcr/eslint-plugin-react#3149</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3146">https://github.com/facebook/flipper/issues/3146</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3146">yannickcr/eslint-plugin-react#3146</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3129">https://github.com/facebook/flipper/issues/3129</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3129">yannickcr/eslint-plugin-react#3129</a></p> <h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.0...v7.27.1">7.27.1</a> - 2021.11.18</h2> <h3>Fixed</h3> <ul> <li>[<code>no-invalid-html-attribute</code>]: allow <code>link</code> <code>rel</code> to have <code>apple-touch-icon</code>, <code>mask-icon</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3132">https://github.com/facebook/flipper/issues/3132</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>no-unused-class-component-methods</code>]: add <code>getChildContext</code> lifecycle method (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3136">https://github.com/facebook/flipper/issues/3136</a>[] <a href="https://github.com/yoyo837"><code>@yoyo837</code></a>)</li> <li>[<code>prop-types</code>]: fix false positives on renames in object destructuring (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3142">https://github.com/facebook/flipper/issues/3142</a>[] <a href="https://github.com/golopot"><code>@golopot</code></a>)</li> <li>[<code>no-arrow-function-lifecycle</code>]: fix invalid autofix from a concise arrow method to a regular one (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3145">https://github.com/facebook/flipper/issues/3145</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>display-name</code>]: avoid false positives on non-creatClass object expressions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3144">https://github.com/facebook/flipper/issues/3144</a> <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[readme] fix syntax typo (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3141">https://github.com/facebook/flipper/issues/3141</a>[] <a href="https://github.com/moselhy"><code>@moselhy</code></a>)</li> </ul> <p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3145">https://github.com/facebook/flipper/issues/3145</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3145">yannickcr/eslint-plugin-react#3145</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3144">https://github.com/facebook/flipper/issues/3144</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3144">yannickcr/eslint-plugin-react#3144</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3142">https://github.com/facebook/flipper/issues/3142</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3142">yannickcr/eslint-plugin-react#3142</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3141">https://github.com/facebook/flipper/issues/3141</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3141">yannickcr/eslint-plugin-react#3141</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3136">https://github.com/facebook/flipper/issues/3136</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3136">yannickcr/eslint-plugin-react#3136</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3132">https://github.com/facebook/flipper/issues/3132</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3132">yannickcr/eslint-plugin-react#3132</a></p> <h2>[7.27.0] - 2021.11.09</h2> <h3>Added</h3> <ul> <li>support eslint 8.x (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3059">https://github.com/facebook/flipper/issues/3059</a>[] <a href="https://github.com/MichaelDeBoey"><code>@MichaelDeBoey</code></a> <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>no-unused-class-component-methods</code>]: Handle unused class component methods (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2166">https://github.com/facebook/flipper/issues/2166</a>[] <a href="https://github.com/jakeleventhal"><code>@jakeleventhal</code></a> <a href="https://github.com/pawelnvk"><code>@pawelnvk</code></a>)</li> <li>add [<code>no-arrow-function-lifecycle</code>] (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1980">https://github.com/facebook/flipper/issues/1980</a>[] <a href="https://github.com/ngtan"><code>@ngtan</code></a>)</li> <li>add support for <code>typescript-eslint/parser</code> v5 (<a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>no-invalid-html-attribute</code>]: add rule (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2863">https://github.com/facebook/flipper/issues/2863</a>[] <a href="https://github.com/Nokel81"><code>@Nokel81</code></a>)</li> </ul> <h3>Fixed</h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="9be55ed7f2"><code>9be55ed</code></a> Update CHANGELOG and bump version</li> <li><a href="5a253803c2"><code>5a25380</code></a> [New] component detection: add <code>util.isReactHookCall</code></li> <li><a href="3db5285913"><code>3db5285</code></a> [Fix] <code>jsx-indent-props</code>: Reset <code>line.isUsingOperator</code> correctly after ternary</li> <li><a href="d56fdb8054"><code>d56fdb8</code></a> [Tests] rename test file to match production file</li> <li><a href="ac4e311f07"><code>ac4e311</code></a> [Tests] tiny cleanup</li> <li><a href="f7943d5f77"><code>f7943d5</code></a> [Test] parsers.all augments suggestion code output</li> <li><a href="e3d3525bf9"><code>e3d3525</code></a> [New] <code>function-component-definition</code>: support namedComponents option being a...</li> <li><a href="d5bf8d9669"><code>d5bf8d9</code></a> [Dev Deps] update <code>eslint-plugin-import</code></li> <li><a href="a09debf0ac"><code>a09debf</code></a> [New] components detection: track React imports</li> <li><a href="8b98e60472"><code>8b98e60</code></a> [Tests] component detection: Add testing scaffolding</li> <li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.1...v7.28.0">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/3271 Reviewed By: lblasa Differential Revision: D33565480 Pulled By: passy fbshipit-source-id: fb85421d8b12aae52ef6101072fe2872611bec5f
Flipper
Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android and, recently, even JS apps in your browser or in Node.js. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API.
Table of Contents
Mobile development
Flipper aims to be your number one companion for mobile app development on iOS and Android. Therefore, we provide a bunch of useful tools, including a log viewer, interactive layout inspector, and network inspector.
Extending Flipper
Flipper is built as a platform. In addition to using the tools already included, you can create your own plugins to visualize and debug data from your mobile apps. Flipper takes care of sending data back and forth, calling functions, and listening for events on the mobile app.
Contributing to Flipper
Both Flipper's desktop app, native mobile SDKs, JS SDKs are open-source and MIT licensed. This enables you to see and understand how we are building plugins, and of course, join the community and help to improve Flipper. We are excited to see what you will build on this platform.
In this repo
This repository includes all parts of Flipper. This includes:
- Flipper's desktop app built using Electron
(
/desktop) - native Flipper SDKs for iOS (
/iOS) - native Flipper SDKs for Android (
/android) - React Native Flipper SDK (
/react-native) - JS Flipper SDK (
/js) - Plugins:
- Logs (
/desktop/plugins/public/logs) - Layout inspector (
/desktop/plugins/public/layout) - Network inspector (
/desktop/plugins/public/network) - Shared Preferences/NSUserDefaults inspector
(
/desktop/plugins/public/shared_preferences)
- Logs (
- website and documentation (
/website//docs)
Getting started
Please refer to our
Getting Started guide to set
up Flipper.
Or, (still experimental) run npx flipper-server for a browser based version of Flipper.
Requirements
- node >= 8
- yarn >= 1.5
- iOS developer tools (for developing iOS plugins)
- Android SDK and adb
Building from Source
Desktop
Running from source
git clone https://github.com/facebook/flipper.git
cd flipper/desktop
yarn
yarn start
NOTE: If you're on Windows, you need to use Yarn 1.5.1 until this issue is resolved.
Building standalone application
Provide either --mac, --win, --linux or any combination of them to
yarn build to build a release zip file for the given platform(s). E.g.
yarn build --mac --version $buildNumber
You can find the resulting artifact in the dist/ folder.
iOS SDK + Sample App
cd iOS/Sample
rm -f Podfile.lock
pod install --repo-update
open Sample.xcworkspace
<Run app from xcode>
You can omit --repo-update to speed up the installation, but watch out as you
may be building against outdated dependencies.
Android SDK + Sample app
Start up an android emulator and run the following in the project root:
./gradlew :sample:installDebug
React Native SDK + Sample app
cd react-native/ReactNativeFlipperExample
yarn
yarn android
Note that the first 2 steps need to be done only once.
Alternatively, the app can be started on iOS by running yarn ios.
If this is the first time running, you will also need to run
pod install --repo-update from the
react-native/ReactNativeFlipperExample/ios folder.
JS SDK + Sample React app
cd js/react-flipper-example
yarn
yarn start
Troubleshooting
Older yarn versions might show an error / hang with the message 'Waiting for the
other yarn instance to finish'. If that happens, run the command yarn first
separately in the directory react-native/react-native-flipper.
Documentation
Find the full documentation for this project at fbflipper.com.
Our documentation is built with Docusaurus. You can build it locally by running this:
cd website
yarn
yarn start
Contributing
See the CONTRIBUTING file for how to help out.
License
Flipper is MIT licensed, as found in the LICENSE file.
