Bump react-redux from 7.2.4 to 7.2.6 in /desktop (#3035)
Summary:
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.4 to 7.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/reduxjs/react-redux/releases">react-redux's releases</a>.</em></p>
<blockquote>
<h2>v7.2.6</h2>
<p><em>Shameless plug: <a href="https://spaceship.run/">I'm working on a new company called Spaceship 🚀</a> It's a tool to launch your code anywhere in one click. Check it out!</em></p>
<p>Just a quick fix for a Yarn install warning. Sorry about the noise!</p>
<h2><a href="https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6">Changes</a></h2>
<ul>
<li>Remove <code>workspaces</code> from our package.json to silence a Yarn warning (<a href="https://github.com/timdorr"><code>@timdorr</code></a>)</li>
</ul>
<h2>v7.2.5</h2>
<p>This release shrinks the size of our internal <code>Subscription</code> class, and updates <code>useSelector</code> to avoid an unnecessary selector call on mount.</p>
<h2>Changes</h2>
<h3>Subscription Size Refactor</h3>
<p>Our internal <code>Subscription</code> implementation has been written as a class ever since it was added in v5. By rewriting it as a closure factory, we were able to shave a few bytes off the final bundle size.</p>
<h3><code>useSelector</code> Mount Optimization</h3>
<p>A user noticed that <code>useSelector</code> had never been given an early "bail out if the root state is the same" check to match how <code>connect</code> works. This resulted in a usually-unnecessary second call to the provided selector on mount. We've added that check.</p>
<h3>Entry Point Consolidation</h3>
<p>We've consolidated the list of exported public APIs into a single file, and both the <code>index.js</code> and <code>alternate-renderers.js</code> entry points now re-export everything from that file. No meaningful change here, just shuffling lines of code around for consistency.</p>
<h2>Other Updates</h2>
<h3>React-Redux v8 and React 18 Development</h3>
<p>With <a href="https://github.com/reactwg/react-18/discussions/4">the announcement of React 18</a>, we've been working with the React team to plan our migration path to keep React-Redux fully compatible with React's upcoming features.</p>
<p>We've already <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1737">migrated the React-Redux main development branch to TypeScript</a>, and are <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1808">prototyping compatibility implementation updates</a>. We'd appreciate any assistance from the community in testing out these changes so that we can ensure React-Redux works great for everyone when React 18 is ready!</p>
<h3>Internal Tooling Updates</h3>
<p>Our <code>master</code> branch now uses Yarn v2 for package management, is built with TypeScript, and we've made CI updates to test against multiple TS versions.</p>
<p>The <code>7.x</code> branch has also been updated to use Yarn v2 for consistency.</p>
<p>These only affect contributors to the React-Redux package itself.</p>
<h2>Changelog</h2>
<ul>
<li>Port entry point consolidation from 8.x branch (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1811">https://github.com/facebook/flipper/issues/1811</a> - <a href="https://github.com/markerikson"><code>@markerikson</code></a>)</li>
<li>Update v7 branch to use Yarn v2 and improve CI process (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1810">https://github.com/facebook/flipper/issues/1810</a> - <a href="https://github.com/markerikson"><code>@markerikson</code></a>)</li>
<li>Reduce unnecessary calls to useSelector selector (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1803">https://github.com/facebook/flipper/issues/1803</a> - <a href="https://github.com/sufian-slack"><code>@sufian-slack</code></a> )</li>
<li>Port Subscription closure implementation from 8.x to 7.x (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1809">https://github.com/facebook/flipper/issues/1809</a> - <a href="https://github.com/mbelsky"><code>@mbelsky</code></a>)</li>
</ul>
<p><a href="https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5">https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0bcaec4733"><code>0bcaec4</code></a> 7.2.6</li>
<li><a href="27e2332d5f"><code>27e2332</code></a> Upgrade a bunch of stuff.</li>
<li><a href="9890491d1d"><code>9890491</code></a> Backwards action steps</li>
<li><a href="e94b191886"><code>e94b191</code></a> Remove yarn and workspace for website</li>
<li><a href="0691cca518"><code>0691cca</code></a> 7.2.5</li>
<li><a href="c8f56743d6"><code>c8f5674</code></a> Port entry point consolidation from 8.x branch (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1811">https://github.com/facebook/flipper/issues/1811</a>)</li>
<li><a href="c16d3c10c1"><code>c16d3c1</code></a> Update v7 branch to use Yarn v2 and improve CI process (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1810">https://github.com/facebook/flipper/issues/1810</a>)</li>
<li><a href="099e104281"><code>099e104</code></a> Reduce unnecessary calls to useSelector selector (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1803">https://github.com/facebook/flipper/issues/1803</a>)</li>
<li><a href="e7807ef69a"><code>e7807ef</code></a> Port Subscription closure implementation from 8.x to 7.x (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1807">https://github.com/facebook/flipper/issues/1807</a>) (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1809">https://github.com/facebook/flipper/issues/1809</a>)</li>
<li><a href="2c7ef25a07"><code>2c7ef25</code></a> Bump react-native from 0.63.3 to 0.64.1 (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1773">https://github.com/facebook/flipper/issues/1773</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.6">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/3035
Reviewed By: nikoant
Differential Revision: D32246958
Pulled By: mweststrate
fbshipit-source-id: c6b0938530f121c0674d60f2d3b476cad681ccb8