Tags: jbpin/sinux
Tags
fix: make combine().state a getter so it reflects current state The state property was assigned once at creation and never updated, causing stale reads (e.g. hasHydrated staying false after hydration). Use a getter that returns the live combined value. Bump all packages to v2.0.4.
fix: synchronous state change notification for React compatibility Store.subscribe() now uses a dedicated synchronous listener set instead of piping through Signal.dispatch() (which is async). This ensures useSyncExternalStore receives synchronous notifications as required. Also fixes combine() to use store.subscribe() instead of directly adding to the changed Signal pipeline. Adds test coverage for combine/useStores subscription behavior. Bump all packages to v2.0.3. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: externalize use-sync-external-store/shim in ESM bundle The ESM bundle for @sinuxjs/react was inlining CJS code from use-sync-external-store/shim with unresolvable relative require() paths. Mark it as external alongside the existing with-selector entry. Bump to v2.0.1. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PreviousNext