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: README.md
+92-1Lines changed: 92 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,10 +100,101 @@ The `RemixDevTools` component accepts the following props:
100
100
-`defaultOpen`: Whether to open the Remix Development Tools by default. Defaults to `false`.
101
101
-`position`: The position of the Remix Development Tools trigger. Defaults to `bottom-right`.
102
102
-`requireUrlFlag`: Requires rdt=true to be present in the URL search to open the Remix Development Tools. Defaults to `false`.
103
-
-`showRouteBoundaries`: Allows you to see each Outlet and route boundaries by coloring the background. Defaults to `false`.
103
+
-[**DEPRECATED**]`showRouteBoundaries`:This flag has been deprecated in favor of adding route boundaries. Please see the section below for more information.
104
104
-`hideUntilHover`: Allows you to hide the trigger until you hover over it. Defaults to `false`.
105
105
-`additionalTabs`: Allows you to provide additional tabs to the Remix Development Tools. Defaults to `[]`.
106
106
107
+
## Adding route boundaries
108
+
109
+
The `showErrorBoundaries` flag has been deprecated in favor of this method. Please use it instead.
110
+
111
+
In order to add Route boundaries to your project you need to do the following two things:
112
+
113
+
1. Modify your `entry.server.ts` to add the following code:
0 commit comments