You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some use-case such as mobxjs/mobx.dart#14 wants to trigger some custom logic right after the build method ended.
We can create a custom life-cycle on hooks to support this use-case:
class_SomeHookStateextendsHookState<T, Hook<T>> {
@overridevoiddidBuild() {
// TODO: do something after `HookWidget.build` but because the children build.
}
}
useAsyncEffect
useErrorBoundary
The text was updated successfully, but these errors were encountered:
Some use-case such as mobxjs/mobx.dart#14 wants to trigger some custom logic right after the build method ended.
We can create a custom life-cycle on hooks to support this use-case:
The text was updated successfully, but these errors were encountered: