I am building a Vite react ts app. I wanted to code split my components by using React.lazy
I tried import the component like so
import { lazy } from "react";
const Login = lazy(() => import("./Login.tsx"));
Is this supported? or am I doing something wrong
I am building a Vite react ts app. I wanted to code split my components by using React.lazy
I tried import the component like so
Is this supported? or am I doing something wrong