Add mount-lifetime layer provisioning through Component.provide and improve mutation state handling.
Changes
Add dual-form Component.provide support for direct and pipeline usage.
Build provided layers once per mounted component and release them on unmount.
Refactor mutation state to retain mutation keys and finalized results.
Add non-blocking mutateView behavior and failure-state handling.
Update MutationForm to use the new mutation state shape.
Add Component and Mutation tests.
Update documentation and the lens form example.
Bump effect-view to 0.1.4.
Testing
bun run --cwd packages/effect-view test
7 test files passed, 32 tests passed.
## Summary
Add mount-lifetime layer provisioning through `Component.provide` and improve mutation state handling.
## Changes
- Add dual-form `Component.provide` support for direct and pipeline usage.
- Build provided layers once per mounted component and release them on unmount.
- Refactor mutation state to retain mutation keys and finalized results.
- Add non-blocking `mutateView` behavior and failure-state handling.
- Update `MutationForm` to use the new mutation state shape.
- Add Component and Mutation tests.
- Update documentation and the lens form example.
- Bump `effect-view` to `0.1.4`.
## Testing
- `bun run --cwd packages/effect-view test`
- 7 test files passed, 32 tests passed.
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
Add mount-lifetime layer provisioning through
Component.provideand improve mutation state handling.Changes
Component.providesupport for direct and pipeline usage.mutateViewbehavior and failure-state handling.MutationFormto use the new mutation state shape.effect-viewto0.1.4.Testing
bun run --cwd packages/effect-view test