Skip to content

Commit 68f3208

Browse files
authored
refactor(router): redesign router/client implementation (#1969)
with some breaking change in the internal apis.
1 parent 551584c commit 68f3208

9 files changed

Lines changed: 497 additions & 412 deletions

File tree

e2e/fixtures/waku-jotai-integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"react-dom": "~19.2.4",
1515
"react-server-dom-webpack": "~19.2.4",
1616
"waku": "latest",
17-
"waku-jotai": "^0.2.1"
17+
"waku-jotai": "https://pkg.pr.new/waku-jotai@8"
1818
},
1919
"devDependencies": {
2020
"@types/react": "^19.2.14",

e2e/router-client-no-404.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ test.describe('router-client-no-404', () => {
3131
await expect(page.getByRole('heading', { name: 'Custom 404' })).toHaveCount(
3232
0,
3333
);
34-
await expect(page).toHaveURL(/\/start$/);
34+
await expect(page).toHaveURL(/\/missing$/);
3535
});
3636
});

e2e/router-client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ test.describe('router-client', () => {
502502
page.getByRole('heading', { name: 'Custom 404' }),
503503
).toBeVisible();
504504
await expect(page.getByTestId('route-path')).toHaveText('/404');
505-
await expect(page).toHaveURL(/\/start$/);
505+
await expect(page).toHaveURL(/\/missing$/);
506506
consoleErrors = dropExpectedErrorFlowConsoleErrors(consoleErrors);
507507
});
508508
});

examples/08_jotai-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"react-dom": "~19.2.4",
1515
"react-server-dom-webpack": "~19.2.4",
1616
"waku": "1.0.0-alpha.4",
17-
"waku-jotai": "^0.2.1"
17+
"waku-jotai": "https://pkg.pr.new/waku-jotai@8"
1818
},
1919
"devDependencies": {
2020
"@tailwindcss/vite": "^4.1.18",

examples/54_jotai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"react-dom": "~19.2.4",
1515
"react-server-dom-webpack": "~19.2.4",
1616
"waku": "1.0.0-alpha.4",
17-
"waku-jotai": "^0.2.1"
17+
"waku-jotai": "https://pkg.pr.new/waku-jotai@8"
1818
},
1919
"devDependencies": {
2020
"@types/react": "^19.2.14",

0 commit comments

Comments
 (0)