Add View.useFromReactiveValues #78

Merged
Thilawyn merged 2 commits from next into master 2026-09-25 23:21:28 +02:00
Owner

Summary

  • Add View.useFromReactiveValues, a View-side counterpart to Lens.useFromReactState: exposes a React dependency list (values that change across renders) as a live-updating View, backed by a SubscriptionRef kept in sync via useReactEffect.

Test plan

  • bun run lint:tsc
  • bun run lint:biome
  • bun run test

🤖 Generated with Claude Code

## Summary - Add `View.useFromReactiveValues`, a `View`-side counterpart to `Lens.useFromReactState`: exposes a React dependency list (values that change across renders) as a live-updating `View`, backed by a `SubscriptionRef` kept in sync via `useReactEffect`. ## Test plan - [x] `bun run lint:tsc` - [x] `bun run lint:biome` - [x] `bun run test` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Thilawyn added 2 commits 2026-09-25 23:15:49 +02:00
Add View.useFromReactState
Lint / lint (push) Successful in 30s
b01d36dea4
Add View.useFromReactiveValues
Lint / lint (push) Successful in 28s
Test build / test-build (pull_request) Successful in 1m19s
c5f40c8f73
Thilawyn merged commit 7f2782676b into master 2026-09-25 23:21:28 +02:00
Thilawyn deleted branch next 2026-09-25 23:21:28 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Thilawyn/effect-view#78