From 4613ff38e2aa678f59b4dfae9ee705cf77c8947a Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sun, 23 Apr 2023 08:31:42 -0400 Subject: [PATCH 1/3] improved click handler --- lib/iso.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/iso.tsx b/lib/iso.tsx index 1bb54ea..df2df88 100644 --- a/lib/iso.tsx +++ b/lib/iso.tsx @@ -78,14 +78,19 @@ export const Router = { document.addEventListener("click", e=> { const t = e.target as HTMLAnchorElement; - if(t.href) + const path = e.composedPath() as HTMLAnchorElement[]; + for(let i=0; i Date: Sun, 23 Apr 2023 22:17:39 -0400 Subject: [PATCH 2/3] metas reorgnaization started --- example/app.tsx | 2 +- example/deep/component.tsx | 2 +- lib/iso.tsx | 53 ++++++++++++++++++++++---------------- server.tsx | 13 +++++++--- 4 files changed, 42 insertions(+), 28 deletions(-) diff --git a/example/app.tsx b/example/app.tsx index 2f4abe9..5fd8d5a 100644 --- a/example/app.tsx +++ b/example/app.tsx @@ -8,7 +8,7 @@ const Comp = React.lazy(()=>import("./deep/component.tsx")); export default ()=> { return
- +