@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.
@@ -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,