solid_annotations 3.0.0-dev.4 copy "solid_annotations: ^3.0.0-dev.4" to clipboard
solid_annotations: ^3.0.0-dev.4 copied to clipboard

Annotations for the solid transpiler to enable fine-grained reactivity in Flutter applications.

3.0.0-dev.4 #

  • FEAT: Add previousReady / previousError source-time stubs on the @SolidQuery tear-off, mirroring Resource.previousReady / previousError (solidart 3.0.0-dev.2) — the most recent ready / error state, retained across ANY number of failures (unlike previousState, the single prior state). Read as <query>.previousReady?.value / <query>.previousError?.error.

3.0.0-dev.3 #

  • FEAT: Add a previousState source-time stub on the @SolidQuery tear-off (<query>.previousState), mirroring Resource.previousState — the ResourceState<T>? immediately before the current one. With the default useRefreshing: true this retains the last ready value across a failed refresh (a ResourceError otherwise drops it); with useRefreshing: false a refresh re-enters loading immediately, so previousState is loading during that window, not the last ready value. Reads as <query>.previousState?.asReady?.value and typechecks identically source- and lib-side via the existing FutureWhen/StreamWhen state accessors.

3.0.0-dev.2 #

  • DOCS: Update WidgetEnvironment.environment() doc comment for solid_generator's type-aware dispose: auto-injection.

3.0.0-dev.1 #

  • BREAKING: Raise the Dart SDK lower bound to ^3.10.0 and align with the solidart v3 ecosystem (flutter_solidart ^3.0.0-dev.1).
  • CHORE: Bump meta, provider, and very_good_analysis.

2.0.0+1 #

  • DOCS: Update README installation.

2.0.0 #

  • FEAT: Disposable marker for environment values that need teardown.
  • FEAT: untracked(() => …) source-time stub for untracked writes inside reactive bodies (mirrors flutter_solidart's untracked; identity at the source level, resolves to the runtime function after generation).

1.0.0 #

  • Initial version.
5
likes
150
points
65
downloads

Documentation

Documentation
API reference

Publisher

verified publishermariuti.com

Weekly Downloads

Annotations for the solid transpiler to enable fine-grained reactivity in Flutter applications.

Homepage
Repository (GitHub)
View/report issues

Topics

#framework #zero-boilerplate #fine-grained-reactivity #swiftui #solidjs

License

MIT (license)

Dependencies

flutter, meta, provider

More

Packages that depend on solid_annotations