Skip to content

perf(core): reactive internals refactor v1000.3.1#49

Merged
nerdalytics merged 20 commits into
trunkfrom
feat/handbook-readme-link
Apr 3, 2026
Merged

perf(core): reactive internals refactor v1000.3.1#49
nerdalytics merged 20 commits into
trunkfrom
feat/handbook-readme-link

Conversation

@nerdalytics
Copy link
Copy Markdown
Owner

@nerdalytics nerdalytics commented Apr 3, 2026

Summary

  • Reduces allocations in three hot paths: protectedState reader caching, stateTracking Set reuse on effect re-runs, and index-based iteration in lens path updates
  • Extracts disposeEffect for full recursive cleanup of nested effects, fixing zombie refs in activeSubscribers, stateTracking, and parentSubscriber WeakMaps
  • Internal simplifications: getOrCreate helper, container-to-closure refactor in derive/select/lens, unified setValueAtPath, redundant JSDoc removal
  • Bumps version to 1000.3.1, adds handbook v1000.3.1 with migration docs
  • Removes .github/README.md in favor of handbook
  • Fixes iOS Safari safe area insets (viewport-fit=cover, env() padding, navy background on html/body)
  • Bumps Node to 24.14.1

Test plan

  • All 114 existing tests pass (node --test tests/**/*.ts)
  • Biome check clean (npx @biomejs/biome check src/index.ts)
  • TypeScript compiles (npx tsc --noEmit)
  • Public API unchanged (8 function exports, 4 type exports)
  • Handbook builds and serves v1000.3.1 pages correctly
  • latest landing page badges reference 1000.3.1
  • iOS Safari renders header below status bar with no white background bleed

@nerdalytics nerdalytics changed the title docs(core): point documentation link to GitHub Pages handbook perf(core): reactive internals refactor v1000.3.1 Apr 3, 2026
@nerdalytics nerdalytics merged commit 5b9bef9 into trunk Apr 3, 2026
12 checks passed
@nerdalytics nerdalytics deleted the feat/handbook-readme-link branch April 3, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant