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

13
13
14
-
Remix Development Tools is an open-source package designed to enhance your development workflow when working with Remix, a full-stack JavaScript framework for building web applications. This package provides a user-friendly interface consisting of three tabs, **Active Page**, **Terminal**, **Settings** and **Routes**, along with a side tab called **Timeline**. With Remix Development Tools, you can efficiently monitor and manage various aspects of your Remix projects, including page information, URL parameters, server responses, loader data, routes, and more.
14
+
Remix Development Tools is an open-source package designed to enhance your development workflow when working with Remix, a full-stack JavaScript framework for building web applications. This package provides a user-friendly interface consisting of three tabs, **Active Page**, **Terminal**, **Settings**, **Errors** and **Routes**, along with a side tab called **Timeline**. With Remix Development Tools, you can efficiently monitor and manage various aspects of your Remix projects, including page information, URL parameters, server responses, loader data, routes, and more. You can
15
+
also track down hydration issues with the **Errors** tab and view your routes in a tree/list view with the **Routes** tab.
15
16
16
17
## How it looks
17
18
### Server logger
18
19

19
20
### Routes Tab (List view)
20
21

21
-
22
22
### Routes Tab (Tree view)
23
23

24
+
### Errors Tab
25
+

24
26
### Timeline
25
27

26
28
### Route boundaries & Active page panel
27
29

30
+
31
+
28
32
## What's new?
33
+
## v3.3.0
34
+
- HMR speed-up > HMR is now a lot faster due to the fact the package doesn't use lucide-react which was slowing down HMR on certain machines
35
+
- Errors tab > you can now see the HTML nesting errors that you might have on your page and open the files directly in VS code. This
36
+
can help you debug hydration issues a lot faster!
29
37
30
38
## v3.2.1
31
39
@@ -116,6 +124,10 @@ The **Routes** tab enables you to manage and explore the routes within your Remi
116
124
117
125
The **Timeline** side tab provides a timeline view of events occurring during the development process. This tab helps you track the sequence of actions and events, providing valuable insights into the execution flow of your application.
118
126
127
+
### Errors Tab
128
+
129
+
The **Errors** tab allows you to track down hydration issues in your application. It shows you the HTML nesting errors that you might have on your page and allows you to open the files directly in VS code. This can help you debug hydration issues a lot faster!
130
+
119
131
### Settings tab
120
132
121
133
The **Settings** tab allows you to tweak your Remix Development Tools to your needs. Allows you to tweak around the height of the dev tools,
@@ -231,6 +243,10 @@ If you're using a CJS custom server you can replace the following lines:
231
243
232
244
### CJS remix server setup (remix run server started by remix dev)
233
245
246
+
> [!NOTE]
247
+
> This is only needed when you're not running a custom server and you're using the remix dev server
248
+
249
+
234
250
Just add the following command to your package.json:
235
251
```diff
236
252
- "dev": "remix dev",
@@ -239,6 +255,9 @@ Just add the following command to your package.json:
239
255
240
256
### ESM remix server setup (remix run server started by remix dev)
241
257
258
+
> [!NOTE]
259
+
> This is only needed when you're not running a custom server and you're using the remix dev server
260
+
242
261
Just add the following command to your package.json:
243
262
```diff
244
263
- "dev": "remix dev",
@@ -411,9 +430,25 @@ The migration should be really simple. These are the following things you need t
411
430
```
412
431
4. You're good to go! (You can also add the server logger on top of that if you want)
413
432
414
-
433
+
415
434
## Troubleshooting
416
435
436
+
### Cloudflare
437
+
438
+
I am aware of the fact that Remix Development Tools doesn't work with Cloudflare. I am working on a fix for this issue.
439
+
440
+
### Types missing from "remix-dev-tools/server" import
441
+
442
+
If your `moduleResolution` is set to `Node` in your `tsconfig.json` file you may encounter missing types when importing from `remix-dev-tools/server`. To fix this issue you need to add the following to your `tsconfig.json` file:
443
+
444
+
```json
445
+
{
446
+
"compilerOptions": {
447
+
"moduleResolution": "Bundler"
448
+
}
449
+
}
450
+
```
451
+
417
452
### [ lower version than V3 only ] Dynamic imports are only supported when the "--module" flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.ts(1323)
418
453
419
454
To fix this issue you need to add the following to your `tsconfig.json` file:
0 commit comments