didUpdate method
Prepare this HookState for a build with new hook.
This will be called before every build, except the first one.
oldHook
will be the Hook used during the previous build.
Implementation
@override
@mustCallSuper
void didUpdate(H oldHook) {
super.didUpdate(oldHook);
if (!hookKeysEquality.equals(hook.keys, oldHook.keys)) didUpdateKeys();
}