Skip to content

Commit ead6187

Browse files
committed
Moved multiple callback function props from being referenced directly in the useEffect in which they were executed and to their own useEffect in which their values would be written to a ref object. This potentially boosts both performance and unintentional side-effects in scenarios where the props are not properly memoized or where they update frequently.
1 parent 74ccc87 commit ead6187

17 files changed

+97
-61
lines changed

docs/asset-manifest.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"files": {
3-
"main.js": "./main.dc92d9cb.iframe.bundle.js",
3+
"main.js": "./main.351b54cc.iframe.bundle.js",
44
"runtime~main.js": "./runtime~main.f398e60b.iframe.bundle.js",
5-
"vendors~main.js": "./vendors~main.7e0302cf.iframe.bundle.js",
6-
"vendors~main.js.map": "./vendors~main.7e0302cf.iframe.bundle.js.map",
5+
"vendors~main.js": "./vendors~main.4555977f.iframe.bundle.js",
6+
"vendors~main.js.map": "./vendors~main.4555977f.iframe.bundle.js.map",
77
"iframe.html": "./iframe.html",
8-
"vendors~main.7e0302cf.iframe.bundle.js.LICENSE.txt": "./vendors~main.7e0302cf.iframe.bundle.js.LICENSE.txt"
8+
"vendors~main.4555977f.iframe.bundle.js.LICENSE.txt": "./vendors~main.4555977f.iframe.bundle.js.LICENSE.txt"
99
},
1010
"entrypoints": [
1111
"runtime~main.f398e60b.iframe.bundle.js",
12-
"vendors~main.7e0302cf.iframe.bundle.js",
13-
"main.dc92d9cb.iframe.bundle.js"
12+
"vendors~main.4555977f.iframe.bundle.js",
13+
"main.351b54cc.iframe.bundle.js"
1414
]
1515
}

docs/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@
130130

131131

132132

133-
window['FRAMEWORK_OPTIONS'] = {"fastRefresh":true};</script><script src="runtime~main.f398e60b.iframe.bundle.js"></script><script src="vendors~main.7e0302cf.iframe.bundle.js"></script><script src="main.dc92d9cb.iframe.bundle.js"></script></body></html>
133+
window['FRAMEWORK_OPTIONS'] = {"fastRefresh":true};</script><script src="runtime~main.f398e60b.iframe.bundle.js"></script><script src="vendors~main.4555977f.iframe.bundle.js"></script><script src="main.351b54cc.iframe.bundle.js"></script></body></html>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@
135135

136136

137137

138-
window['DOCS_MODE'] = false;</script><script src="runtime~main.f74b1ca97742b2a18c7f.manager.bundle.js"></script><script src="vendors~main.bb7ddbed5d6f92d95fe7.manager.bundle.js"></script><script src="main.cc95f1caf0b1a19dbc6d.manager.bundle.js"></script></body></html>
138+
window['DOCS_MODE'] = false;</script><script src="runtime~main.f74b1ca97742b2a18c7f.manager.bundle.js"></script><script src="vendors~main.fe6204721ae8a3480cd9.manager.bundle.js"></script><script src="main.cc95f1caf0b1a19dbc6d.manager.bundle.js"></script></body></html>

docs/main.351b54cc.iframe.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.dc92d9cb.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/vendors~main.4555977f.iframe.bundle.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/vendors~main.4555977f.iframe.bundle.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/vendors~main.7e0302cf.iframe.bundle.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/vendors~main.7e0302cf.iframe.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)