@tanstack/react-router-devtools 0.0.1-alpha.3 → 0.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/packages/react-router-devtools/src/Explorer.js +3 -5
- package/build/cjs/packages/react-router-devtools/src/Explorer.js.map +1 -1
- package/build/esm/index.js +3 -5
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +2675 -2675
- package/build/umd/index.development.js +3 -5
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/Explorer.tsx +6 -3
|
@@ -1278,9 +1278,7 @@
|
|
|
1278
1278
|
setValueSnapshot(value());
|
|
1279
1279
|
};
|
|
1280
1280
|
|
|
1281
|
-
return /*#__PURE__*/React__namespace.createElement(Entry, {
|
|
1282
|
-
key: label
|
|
1283
|
-
}, subEntryPages.length ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(ExpandButton, {
|
|
1281
|
+
return /*#__PURE__*/React__namespace.createElement(Entry, null, subEntryPages.length ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(ExpandButton, {
|
|
1284
1282
|
onClick: () => toggleExpanded()
|
|
1285
1283
|
}, /*#__PURE__*/React__namespace.createElement(Expander, {
|
|
1286
1284
|
expanded: expanded
|
|
@@ -1363,7 +1361,7 @@
|
|
|
1363
1361
|
|
|
1364
1362
|
const subEntryPages = chunkArray(subEntries, pageSize);
|
|
1365
1363
|
return renderer(_extends({
|
|
1366
|
-
HandleEntry: _ref5 => {
|
|
1364
|
+
HandleEntry: React__namespace.useCallback(_ref5 => {
|
|
1367
1365
|
let {
|
|
1368
1366
|
entry
|
|
1369
1367
|
} = _ref5;
|
|
@@ -1371,7 +1369,7 @@
|
|
|
1371
1369
|
value: value,
|
|
1372
1370
|
renderer: renderer
|
|
1373
1371
|
}, rest, entry));
|
|
1374
|
-
},
|
|
1372
|
+
}, [value, renderer]),
|
|
1375
1373
|
type,
|
|
1376
1374
|
subEntries,
|
|
1377
1375
|
subEntryPages,
|