@tanstack/react-router 0.0.1-beta.3 → 0.0.1-beta.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.
@@ -1170,6 +1170,7 @@ function toValue(mix) {
1170
1170
  var str = decodeURIComponent(mix);
1171
1171
  if (str === 'false') return false;
1172
1172
  if (str === 'true') return true;
1173
+ if (str.charAt(0) === '0') return str;
1173
1174
  return +str * 0 === 0 ? +str : str;
1174
1175
  }
1175
1176