Summary: Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.4 to 4.1.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p> <blockquote> <h2>4.1.0</h2> <ul> <li><strong>New Violations:</strong> Warn when dependencies change on every render. (<a href="https://github.com/captbaritone">captbaritone</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19590">#19590</a>)</li> </ul> <h2>4.0.8</h2> <ul> <li>Fixes TypeScript <code>typeof</code> annotation to not be considered a dependency. (<a href="https://github.com/delca85">delca85</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19316">#19316</a>)</li> </ul> <h2>4.0.7</h2> <ul> <li>Fixes an overly coarse dependency suggestion. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19313">#19313</a>)</li> </ul> <h2>4.0.6</h2> <ul> <li>Fix crashes and other bugs related to optional chaining. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19273">#19273</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/19275">#19275</a>)</li> </ul> <h2>4.0.5</h2> <ul> <li>Fix a crash when the dependency array has an empty element. (<a href="https://github.com/yeonjuan">yeonjuan</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19145">#19145</a>)</li> <li>Fix a false positive warning that occurs with optional chaining. (<a href="https://github.com/fredvollmer">fredvollmer</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19061">#19061</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li> </ul> </details> <br /> [](https://help.github.com/articles/configuring-automated-security-fixes) 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/1475 Reviewed By: mweststrate Differential Revision: D23161698 Pulled By: passy fbshipit-source-id: 725c377f627b2555a85487ef39cebe372205d394
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'})