Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions create-pages/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"start": "waku start"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"server-only": "^0.0.1",
"typescript": "^7.0.2"
}
Expand Down
17 changes: 3 additions & 14 deletions create-pages/basic/src/components/RoutingHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,9 @@ import { useEffect } from 'react';
import { useRouter } from 'waku/router/client';

export const RoutingHandler = () => {
const router = useRouter();
const { path, query, hash } = useRouter();
useEffect(() => {
const onStart = () => {
console.log('Route change started');
};
const onComplete = () => {
console.log('Route change completed');
};
router.unstable_events.on('start', onStart);
router.unstable_events.on('complete', onComplete);
return () => {
router.unstable_events.off('start', onStart);
router.unstable_events.off('complete', onComplete);
};
});
console.log('Route changed', { path, query, hash });
}, [path, query, hash]);
return null;
};
12 changes: 6 additions & 6 deletions create-pages/react-tweet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"start": "waku start"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"react-tweet": "^3.3.1",
"waku": "1.0.0-beta.9"
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@tailwindcss/vite": "4.3.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"tailwindcss": "^4.3.3",
"typescript": "^7.0.2"
}
Expand Down
12 changes: 6 additions & 6 deletions create-pages/view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"start": "waku start"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"typescript": "^7.0.2"
}
}
35 changes: 16 additions & 19 deletions create-pages/view-transitions/src/components/AboutPage.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
import { ViewTransition } from 'react';

const AboutPage = () => (
<div style={{ padding: '2rem' }}>
<h1
style={{
viewTransitionName: 'page-title',
fontSize: '2rem',
marginBottom: '1rem',
}}
>
About Waku
</h1>
<div
style={{
viewTransitionName: 'page-content',
backgroundColor: '#f8fafc',
padding: '2rem',
borderRadius: '0.5rem',
}}
>
<p>This is the about page with a different background color.</p>
</div>
<ViewTransition name="page-title">
<h1 style={{ fontSize: '2rem', marginBottom: '1rem' }}>About Waku</h1>
</ViewTransition>
<ViewTransition name="page-content">
<div
style={{
backgroundColor: '#f8fafc',
padding: '2rem',
borderRadius: '0.5rem',
}}
>
<p>This is the about page with a different background color.</p>
</div>
</ViewTransition>
</div>
);

Expand Down
39 changes: 20 additions & 19 deletions create-pages/view-transitions/src/components/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
import { ViewTransition } from 'react';

const HomePage = () => (
<div style={{ padding: '2rem' }}>
<h1
style={{
viewTransitionName: 'page-title',
fontSize: '2rem',
marginBottom: '1rem',
}}
>
Waku view transitions
</h1>
<div
style={{
viewTransitionName: 'page-content',
backgroundColor: '#e2e8f0',
padding: '2rem',
borderRadius: '0.5rem',
}}
>
<p>This is the home page. Navigate to see view transitions in action!</p>
</div>
<ViewTransition name="page-title">
<h1 style={{ fontSize: '2rem', marginBottom: '1rem' }}>
Waku view transitions
</h1>
</ViewTransition>
<ViewTransition name="page-content">
<div
style={{
backgroundColor: '#e2e8f0',
padding: '2rem',
borderRadius: '0.5rem',
}}
>
<p>
This is the home page. Navigate to see view transitions in action!
</p>
</div>
</ViewTransition>
</div>
);

Expand Down
15 changes: 0 additions & 15 deletions create-pages/view-transitions/src/components/Link.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ReactNode } from 'react';
import { Link } from './Link';
import { Link } from 'waku/router/client';
import '../styles.css';

const RootLayout = ({ children }: { children: ReactNode }) => (
Expand Down
12 changes: 6 additions & 6 deletions create-pages/weave-render/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"start": "waku start"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"server-only": "^0.0.1",
"typescript": "^7.0.2"
}
Expand Down
12 changes: 6 additions & 6 deletions define-router/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"start": "waku start"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"typescript": "^7.0.2"
}
}
10 changes: 5 additions & 5 deletions fs-router/basic-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"start": "waku start"
},
"dependencies": {
"hono": "^4.12.31",
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"hono": "^4.13.0",
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.3",
Expand Down
14 changes: 7 additions & 7 deletions fs-router/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
"typegen": "waku router typegen"
},
"dependencies": {
"hono": "^4.12.31",
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"hono": "^4.13.0",
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "4.3.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"tailwindcss": "^4.3.3",
Expand Down
14 changes: 7 additions & 7 deletions fs-router/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
"typegen": "waku router typegen"
},
"dependencies": {
"hono": "^4.12.31",
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9",
"hono": "^4.13.0",
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1",
"wrangler": "^4.113.0"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.46.0",
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "4.3.3",
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"miniflare": "^4.20260721.0",
Expand Down
12 changes: 6 additions & 6 deletions fs-router/css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"typegen": "waku router typegen"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"typescript": "^7.0.2"
Expand Down
12 changes: 6 additions & 6 deletions fs-router/data-fetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"typegen": "waku router typegen"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "4.3.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"tailwindcss": "^4.3.3",
Expand Down
12 changes: 6 additions & 6 deletions fs-router/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"typegen": "waku router typegen"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"typescript": "^7.0.2"
}
}
12 changes: 6 additions & 6 deletions fs-router/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"typegen": "waku router typegen"
},
"dependencies": {
"react": "~19.2.8",
"react-dom": "~19.2.8",
"react-server-dom-webpack": "~19.2.8",
"waku": "1.0.0-beta.9"
"react": "~19.3.0",
"react-dom": "~19.3.0",
"react-server-dom-webpack": "~19.3.0",
"waku": "1.0.0-rc.1"
},
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "4.3.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"tailwindcss": "^4.3.3",
Expand Down
Loading
Loading