houdini-react 0.0.0-20240402041558 → 0.0.0-20240402041921

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.
@@ -99,13 +99,13 @@ function Router({
99
99
  preload(url, which) {
100
100
  const [page2, variables2] = (0, import_match.find_match)(import_config.default, manifest, url);
101
101
  if (!page2) {
102
- console.log(url);
103
102
  return;
104
103
  }
105
104
  if (["page", "component"].includes(which)) {
106
105
  loadComponent(page2);
107
106
  }
108
107
  if (["page", "data"].includes(which)) {
108
+ console.log("loading data", page2, variables2);
109
109
  loadData(page2, variables2);
110
110
  }
111
111
  }
@@ -58,13 +58,13 @@ function Router({
58
58
  preload(url, which) {
59
59
  const [page2, variables2] = find_match(configFile, manifest, url);
60
60
  if (!page2) {
61
- console.log(url);
62
61
  return;
63
62
  }
64
63
  if (["page", "component"].includes(which)) {
65
64
  loadComponent(page2);
66
65
  }
67
66
  if (["page", "data"].includes(which)) {
67
+ console.log("loading data", page2, variables2);
68
68
  loadData(page2, variables2);
69
69
  }
70
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-react",
3
- "version": "0.0.0-20240402041558",
3
+ "version": "0.0.0-20240402041921",
4
4
  "description": "The React plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -43,7 +43,7 @@
43
43
  "recast": "^0.23.1",
44
44
  "rollup": "^3.7.4",
45
45
  "use-deep-compare-effect": "^1.8.1",
46
- "houdini": "^0.0.0-20240402041558"
46
+ "houdini": "^0.0.0-20240402041921"
47
47
  },
48
48
  "files": [
49
49
  "build"