Skip to content

Commit

Permalink
Updates react-fast-compare to get support for Preact
Browse files Browse the repository at this point in the history
In 3.1.1 react-fast-compare added support for preact's internal data
structure when handling recursive objects so it now ignores those
correctly. This means the maximum call stack size exceeded issue
doesn't happen any longer.
  • Loading branch information
Esben Anker-Møller committed May 12, 2020
1 parent f9e0245 commit 12d05ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"object-assign": "^4.1.1",
"prop-types": "^15.7.2",
"react-fast-compare": "^2.0.4",
"react-fast-compare": "^3.1.1",
"react-side-effect": "^2.1.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -4131,10 +4131,10 @@ react-dom@16.12.0:
prop-types "^15.6.2"
scheduler "^0.18.0"

react-fast-compare@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
react-fast-compare@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-3.1.1.tgz#0becf31e3812fa70dc231e259f40d892d4767900"
integrity sha512-SCsAORWK59BvauR2L1BTdjQbJcSGJJz03U0awektk2hshLKrITDDFTlgGCqIZpTDlPC/NFlZee6xTMzXPVLiHw==

react-is@^16.8.1:
version "16.12.0"
Expand Down

0 comments on commit 12d05ba

Please sign in to comment.