#When added solid-router Too much recursion
10 messages ยท Page 1 of 1 (latest)
import { lazy } from "solid-js";
const routes = [
{
path: "/",
component: lazy(() => import("./App")),
},
];
export { routes };
``` i have it like this
It's infinite recursion because you're pointing to app which uses the routes which pointes back to app etc.
Oh, im tottaly dumb..
@weary meadow Thank you so much.. my low iq cant get that ๐
It work now! โค๏ธ
No problem ๐
Just add a green check reaction so people know its solved, I don't think there's a way to close it