From 26b3e5f2add3455c3fa9db39edd7ba55da8083ae Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Sun, 7 Apr 2024 02:36:46 -0400 Subject: [PATCH] better --- src/index.tsx | 58 ++++++++++++++++++++++++++++++++++++++++++++++++--- src/style.css | 30 ++++++++++++++++++++++++-- 2 files changed, 83 insertions(+), 5 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index ab78040..ba2d000 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,7 @@ import { hydrate, prerender as ssr } from "preact-iso"; import "./style.css"; -import { computed, effect, signal } from "@preact/signals"; +import { computed, effect, signal, useSignal } from "@preact/signals"; const fonts: Record = { "AB-Equinox": { @@ -97,6 +97,7 @@ export function App() {
+