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
2 changes: 1 addition & 1 deletion packages/rsc/examples/starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ See [`@hiogawa/vite-rsc`](https://github.com/hi-ogawa/vite-plugins/tree/main/pac
## Notes

- [`./src/framework/entry.{browser,rsc,ssr}.tsx`](./src/framework) (with inline comments) provides an overview of how low level RSC (React flight) API can be used to build RSC framework.
- You can use [`vite-plugin-inspect`](https://github.com/antfu-collective/vite-plugin-inspect) (available at http://localhost:5173/__inspect/) to see how `"use client"` and `"use server"` directives are internally transformed.
- You can use [`vite-plugin-inspect`](https://github.com/antfu-collective/vite-plugin-inspect) to understand how `"use client"` and `"use server"` directives are transformed internally.
5 changes: 0 additions & 5 deletions packages/rsc/examples/starter/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import rsc from "@hiogawa/vite-rsc/plugin";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import inspect from "vite-plugin-inspect";

export default defineConfig({
plugins: [
Expand All @@ -17,10 +16,6 @@ export default defineConfig({
// use any of react plugins https://github.com/vitejs/vite-plugin-react
// to enable client component HMR
react(),

// vite-plugin-inspect is useful for understanding
// "use client" / "use server" transforms.
inspect({ build: true }),
],

// specify entry point for each environment.
Expand Down
Loading