@tanstack/react-router-devtools 0.0.1-alpha.2 → 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.
@@ -981,6 +981,8 @@
981
981
  if (typeof window !== 'undefined') {
982
982
  return window.matchMedia && window.matchMedia(query).matches;
983
983
  }
984
+
985
+ return;
984
986
  }); // Watch for changes
985
987
 
986
988
  React__default["default"].useEffect(() => {
@@ -1006,6 +1008,8 @@
1006
1008
  matcher.removeListener(onChange);
1007
1009
  };
1008
1010
  }
1011
+
1012
+ return;
1009
1013
  }, [isMatch, query, setIsMatch]);
1010
1014
  return isMatch;
1011
1015
  }
@@ -1274,9 +1278,7 @@
1274
1278
  setValueSnapshot(value());
1275
1279
  };
1276
1280
 
1277
- return /*#__PURE__*/React__namespace.createElement(Entry, {
1278
- key: label
1279
- }, 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, {
1280
1282
  onClick: () => toggleExpanded()
1281
1283
  }, /*#__PURE__*/React__namespace.createElement(Expander, {
1282
1284
  expanded: expanded
@@ -1359,7 +1361,7 @@
1359
1361
 
1360
1362
  const subEntryPages = chunkArray(subEntries, pageSize);
1361
1363
  return renderer(_extends({
1362
- HandleEntry: _ref5 => {
1364
+ HandleEntry: React__namespace.useCallback(_ref5 => {
1363
1365
  let {
1364
1366
  entry
1365
1367
  } = _ref5;
@@ -1367,7 +1369,7 @@
1367
1369
  value: value,
1368
1370
  renderer: renderer
1369
1371
  }, rest, entry));
1370
- },
1372
+ }, [value, renderer]),
1371
1373
  type,
1372
1374
  subEntries,
1373
1375
  subEntryPages,