Summary: Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.26.0 to 7.26.1. <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.26.0...v7.26.1">7.26.1</a> - 2021.09.29</h2> <h3>Fixed</h3> <ul> <li>[<code>no-namespace</code>]: fix crash on non-string React.createElement name (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3082">#3082</a> <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>no-namespace</code>]: avoid crash on non-string createElement values (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3085">#3085</a> <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>jsx-no-target-blank</code>]: improve error messages (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3088">#3088</a> <a href="https://github.com/cutiful"><code>@cutiful</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] [<code>jsx-max-props-per-line</code>]: fix options example (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3083">#3083</a> <a href="https://github.com/MrRaiter"><code>@MrRaiter</code></a>)</li> </ul> <p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3088">#3088</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3088">yannickcr/eslint-plugin-react#3088</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3085">#3085</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3085">yannickcr/eslint-plugin-react#3085</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3083">#3083</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3083">yannickcr/eslint-plugin-react#3083</a> <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3082">#3082</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3082">yannickcr/eslint-plugin-react#3082</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="119a7f3c73"><code>119a7f3</code></a> Update CHANGELOG and bump version</li> <li><a href="7844d8ecbb"><code>7844d8e</code></a> [Fix] <code>jsx-no-target-blank</code>: improve error messages</li> <li><a href="8785c169c2"><code>8785c16</code></a> [Fix] <code>no-namespace</code>: avoid crash on non-string createElement values</li> <li><a href="a8ecd54b74"><code>a8ecd54</code></a> [Docs] <code>jsx-max-props-per-line</code>: fix options example</li> <li><a href="a4bf7dad85"><code>a4bf7da</code></a> [Fix] <code>no-namespace</code>: fix crash on non-string React.createElement name</li> <li><a href="eeb0144f14"><code>eeb0144</code></a> [Docs] Pin link to code in react-in-jsx-scope docs</li> <li>See full diff in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.0...v7.26.1">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/2933 Reviewed By: muraziz Differential Revision: D31502048 Pulled By: passy fbshipit-source-id: dbaccddae230dd783357a37299b1afd5bd4e0e4a
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'})