watch<T> method

T watch<T>()

Watches the provided data of type T and rebuilds when it changes.

Implementation

T watch<T>() => SolidProvider.of<T>(this);