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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Mutation.mutateso each invocation consistently uses its own key instead of reusing the previous mutation key.withContext/withRuntimeentrypoints.effect-viewto0.1.5and@effect-view/vite-pluginto0.0.2.Testing
bun run --cwd packages/effect-view test -- src/Mutation.test.tsbun run --cwd packages/vite-plugin test -- src/plugin.test.tsThe full test suite was not run.