Improve effect-view docs, mutation keys, and Fast Refresh #76

Merged
Thilawyn merged 7 commits from next into master 2026-08-26 01:06:03 +02:00
Owner

Summary

  • Add comprehensive AI-oriented documentation for effect-view components, state, async rendering, queries, mutations, forms, streams, and runtime setup.
  • Fix Mutation.mutate so each invocation consistently uses its own key instead of reusing the previous mutation key.
  • Improve Vite Fast Refresh instrumentation for:
    • User-defined component wrappers.
    • Data-first and pipeline-based withContext/withRuntime entrypoints.
    • Nested function handling.
    • Stable hook signatures that preserve state for non-hook-related edits.
  • Add regression tests for mutation keys and refresh behavior.
  • Bump effect-view to 0.1.5 and @effect-view/vite-plugin to 0.0.2.

Testing

  • bun run --cwd packages/effect-view test -- src/Mutation.test.ts
    • 4 tests passed
  • bun run --cwd packages/vite-plugin test -- src/plugin.test.ts
    • 11 tests passed

The full test suite was not run.

## Summary - Add comprehensive AI-oriented documentation for effect-view components, state, async rendering, queries, mutations, forms, streams, and runtime setup. - Fix `Mutation.mutate` so each invocation consistently uses its own key instead of reusing the previous mutation key. - Improve Vite Fast Refresh instrumentation for: - User-defined component wrappers. - Data-first and pipeline-based `withContext`/`withRuntime` entrypoints. - Nested function handling. - Stable hook signatures that preserve state for non-hook-related edits. - Add regression tests for mutation keys and refresh behavior. - Bump `effect-view` to `0.1.5` and `@effect-view/vite-plugin` to `0.0.2`. ## Testing - `bun run --cwd packages/effect-view test -- src/Mutation.test.ts` - 4 tests passed - `bun run --cwd packages/vite-plugin test -- src/plugin.test.ts` - 11 tests passed The full test suite was not run.
Thilawyn added 7 commits 2026-08-26 01:04:19 +02:00
Add AI docs
Lint / lint (push) Successful in 28s
9e24b131b1
Improve AI docs
Lint / lint (push) Successful in 25s
01e62b7ae7
Improve AI docs
Lint / lint (push) Successful in 27s
60e27bb80f
Improve AI docs
Lint / lint (push) Successful in 25s
8cb97625b8
Improve React Refresh
Lint / lint (push) Successful in 25s
32c620c604
Fix Mutation
Lint / lint (push) Successful in 24s
aa6f07920e
Bump version
Lint / lint (push) Successful in 26s
Test build / test-build (pull_request) Successful in 1m15s
c60c5af178
Thilawyn merged commit 0e2b4c1951 into master 2026-08-26 01:06:03 +02:00
Thilawyn deleted branch next 2026-08-26 01:06:03 +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#76