diff --git a/example/app.tsx b/example/app.tsx index 8a7cd9e..558a4c6 100644 --- a/example/app.tsx +++ b/example/app.tsx @@ -1,12 +1,30 @@ import React from "react"; import * as Iso from "@eno/iso"; +/* +const delay =(inMS:number)=> +{ + return new Promise((accept)=> + { + setTimeout(()=> + { + accept({default:()=> + { + return

loooooool

; + }}); + }, inMS); + }); +} +const LOL = React.lazy(()=>delay(3000)); +*/ + const Comp = React.lazy(()=>import("./deep/component.tsx")); + export default ()=> { return
- +