From 44a3c7f502fd4e35fecf731e2fda3a2ba9ad1f4e Mon Sep 17 00:00:00 2001 From: Mark Hernandez Date: Mon, 17 Aug 2026 01:29:32 -0500 Subject: [PATCH] Add plans for store integration --- src/components/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/README.md b/src/components/README.md index 09077d6..b6ef9c2 100644 --- a/src/components/README.md +++ b/src/components/README.md @@ -23,3 +23,12 @@ - Nevermind, somewhere in this setup, Vite/TypeScript doesn't play well together - I'll see about continuing with my manual `lit-html` setup - Oh right, I can still emit `CustomEvent`s. Okay, problem solved. +- Hmm. Now I'm at a fork in the road between signals and `nanostores` + - I _want_ to utilize signals (via `@lit-labs/signals`) since it's meant to integrate the [`Signals` proposal](https://github.com/tc39/proposal-signals). + - Provides integration with `lit` and `lit-html` + - Would eventually be a built-in language feature + - On the other hand + - The `signal-polyfill` is based on the proposal that is currently at Stage 1, which is always up for change + - `@lit-labs/signals` is also marked as experimental + - Considering making a custom `lit-html` integration with `nanostores`. + - `@nanostores/lit` assumes use of `LitElement` / web components -- 2.51.2