You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/next/src/next-devtools/README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
3
3
## Project Structure
4
4
5
-
-`dev-overlay/` - The UI that Next.js developers can interact with in development.
6
-
-`server/` - Code that runs in the Next.js development server.
7
-
-`shared/` - Anything that doesn't fit in
8
-
-`userspace/` - Code that runs in the user's application.
5
+
-`next-devtools/dev-overlay/` - The UI that Next.js developers can interact with in development.
6
+
-`next-devtools/server/` - Code that runs in the Next.js development server.
7
+
-`next-devtools/shared/` - Anything that doesn't fit in
8
+
-`next-devtools/userspace/` - Code that runs in the user's application.
9
9
10
-
Modules in `dev-overlay/` are isolated. Any stateful module will not share state with e.g. `userspace/`. Stateful modules `shared/` cannot be used to pass data from `dev-overlay/` to `userspace/` or vice versa.
10
+
Modules in `dev-overlay/` are isolated from the rest of the source. Any stateful module will not share state with e.g. `userspace/`. Stateful modules in`shared/` cannot be used to pass data from `dev-overlay/` to `userspace/` or vice versa.
11
11
12
12
`userspace/` code can send messages to `dev-overlay/` via the `dispatcher` imported from `next/dist/compiled/next-devtools`.
0 commit comments