Summary: Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.3 to 7.21.4. <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.21.3...v7.21.4">7.21.4</a> - 2020.10.09</h2> <h3>Fixed</h3> <ul> <li>[<code>no-unused-prop-types</code>]: Silence false positive on <code>never</code> type in TS (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2815">#2815</a>[] <a href="https://github.com/pcorpet">pcorpet</a>)</li> <li>[<code>jsx-indent-props</code>]: Apply indentation when operator is used in front of the upper line (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2808">#2808</a>[], <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2820">#2820</a>[] <a href="https://github.com/Moong0122">Moong0122</a>)</li> <li>[Deps] update <code>jsx-ast-utils</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">#2822</a>[] [jsx-eslint/jsx-ast-utils#102][] <a href="https://github.com/ljharb">ljharb</a>)</li> </ul> <p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">#2822</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">yannickcr/eslint-plugin-react#2822</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2820">#2820</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2820">yannickcr/eslint-plugin-react#2820</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2815">#2815</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2815">yannickcr/eslint-plugin-react#2815</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2808">#2808</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2808">yannickcr/eslint-plugin-react#2808</a> [jsx-eslint/jsx-ast-utils#102]: <a href="https://github-redirect.dependabot.com/jsx-eslint/jsx-ast-utils/pull/102">jsx-eslint/jsx-ast-utils#102</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="632639ba26"><code>632639b</code></a> Update CHANGELOG and bump version</li> <li><a href="802cdb80be"><code>802cdb8</code></a> [readme] clear up Fragment docs</li> <li><a href="896fe4b7ec"><code>896fe4b</code></a> [Tests] <code>jsx-indent-props</code> : Apply indentation when used expression</li> <li><a href="b7b023f1e2"><code>b7b023f</code></a> [Deps] update <code>jsx-ast-utils</code></li> <li><a href="959fb23365"><code>959fb23</code></a> [Fix] <code>jsx-indent-props</code>: Apply indentation when operator is used in front of...</li> <li><a href="f84dc8b208"><code>f84dc8b</code></a> [Refactor] cleanup <code>no-mixed-operators</code> warnings</li> <li><a href="71a0e8f43e"><code>71a0e8f</code></a> [Fix] <code>no-unused-prop-types</code>: Silence false positive on <code>never</code> type in TS</li> <li>See full diff in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) 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/1584 Reviewed By: mweststrate Differential Revision: D24249930 Pulled By: nikoant fbshipit-source-id: 42f9bb2c0ea8fb34486836cb76abf7e10a10cb69
flipper-sdk-api
SDK to build Flipper clients for JS based apps
Installation
yarn add flipper-client-sdk
Usage
Example
class SeaMammalPlugin extends AbsctractFlipperPlugin {
getId(): string {
return 'sea-mammals';
}
runInBackground(): boolean {
return true;
}
newRow(row: {id: string, url: string, title: string}) {
this.connection?.send("newRow", row)
}
}
const flipperClient = newWebviewClient();
cosnt plugin = new SeaMammalPlugin();
flipperClient.addPlugin();
flipperClient.start('Example JS App');
plugin.newRow({id: '1', title: 'Dolphin', url: 'example.com'})