diff --git a/contributors.yml b/contributors.yml index a603914de0..7cab60befb 100644 --- a/contributors.yml +++ b/contributors.yml @@ -132,6 +132,7 @@ - hampelm - harshmangalam - hernanif1 +- hi-ogawa - HK-SHAO - holynewbie - hongji00 diff --git a/integration/helpers/rsc-vite/package.json b/integration/helpers/rsc-vite/package.json index 43b3e09d18..12413185f1 100644 --- a/integration/helpers/rsc-vite/package.json +++ b/integration/helpers/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@hiogawa/vite-rsc": "0.4.1", + "@hiogawa/vite-rsc": "0.4.2", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/playground/rsc-vite/package.json b/playground/rsc-vite/package.json index f8aeca055c..aef4b95daa 100644 --- a/playground/rsc-vite/package.json +++ b/playground/rsc-vite/package.json @@ -9,7 +9,7 @@ "typecheck": "tsc" }, "devDependencies": { - "@hiogawa/vite-rsc": "0.4.1", + "@hiogawa/vite-rsc": "0.4.2", "@types/express": "^5.0.0", "@types/node": "^22.13.1", "@types/react": "^19.1.8", diff --git a/playground/rsc-vite/src/routes/home/home.client.css b/playground/rsc-vite/src/routes/home/home.client.css new file mode 100644 index 0000000000..9498c5c2ad --- /dev/null +++ b/playground/rsc-vite/src/routes/home/home.client.css @@ -0,0 +1,4 @@ +.client-box { + border: 1px solid black; + padding: 5px; +} diff --git a/playground/rsc-vite/src/routes/home/home.client.tsx b/playground/rsc-vite/src/routes/home/home.client.tsx index 308982b883..9f1ea77653 100644 --- a/playground/rsc-vite/src/routes/home/home.client.tsx +++ b/playground/rsc-vite/src/routes/home/home.client.tsx @@ -4,6 +4,7 @@ import * as React from "react"; import { type ClientLoaderFunctionArgs, useLoaderData } from "react-router"; import { Counter } from "../../counter"; +import "./home.client.css"; import type { loader } from "./home"; @@ -34,7 +35,7 @@ export function HomeForm({ fn }: { fn: () => unknown }) { const [state, formAction, isPending] = React.useActionState(fn, null); return ( -