useReassemble function
Runs the callback on every hot reload,
similar to reassemble
in the stateful widgets.
See also:
Implementation
void useReassemble(VoidCallback callback) {
assert(() {
use(_ReassembleHook(callback));
return true;
}(), '');
}