Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

explain why root route exports default outlet

Oleg Isonen4052b2cea628
diff --git a/app/root.tsx b/app/root.tsx
index 9a21f63eec..057b688987 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -1 +1,2 @@
+// Our root outlet doesn't contain a layout because we have 2 types of documents: canvas and designer and we need to decide down the line which one to render, thre is no single root document.
export { Outlet as default } from "@remix-run/react";