github vaadin/flow 25.2.0-alpha3
Vaadin Flow 25.2.0-alpha3

pre-release12 hours ago

Changes since 25.2.0-alpha2

All changes

New features

Fixes

  • Prevent multiple effect invocations when reading the same signal multiple times
    Commit · Pull request · Issue

    When an effect reads the same signal multiple times (e.g. signal.get() called 3 times), each call creates a separate Usage instance and registers a separate listener. When the signal changes, all listeners fire, causing the effect to run multiple times instead of once. Added an AtomicBoolean flag in Effect.revalidate() that ensures onDependencyChange is called only once per change event, even if multiple usages refer to the same signal. The flag is reset on each revalidate() call so subsequent signal changes can trigger the effect again.

Don't miss a new flow release

NewReleases is sending notifications on new releases.