Skip to content

Add Angular framework adapter #103

@sonukapoor

Description

@sonukapoor

Angular support requires a small adapter in packages/core/src/framework/ that maps Angular's reactive primitives to Formisch's internal framework interface — the same pattern used for React, Vue, Solid, and Svelte.

The file (index.angular.ts) will wire up:

  • createSignal — wraps Angular's WritableSignal with a { value } getter/setter so it matches Formisch's signal contract
  • batch — no-op, since Angular's scheduler already coalesces writes
  • untrack — delegates to untracked() from @angular/core

This is a purely additive change (~30 lines). No existing files are modified.

It's the foundation that frameworks/angular will build on in a follow-up PR.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions