title: Flutter what's StatefulHookWidget and how can we use it?
body: <p>There quote is from <code>Riverpod</code> documentation:</p>
  <blockquote>
  <p>A StatefulWidget that can use Hook</p>
  <p>It's usage is very similar to StatefulWidget, but use hooks inside
  State.build.</p>
  <p>The difference is that it can use Hook, which allows HookWidget to
  store mutable data without implementing a State.</p>
  </blockquote>
  <p>besides this, I can't find any sample code or another tutorial or any description more than the quote.</p>
  <p>in this simple <code>HookWidget</code> how can I implement that with <code>StatefulHookWidget</code>?</p>
  <pre class="lang-dart prettyprint-override"><code>class MyHomePage extends HookWidget {
    @override
    Widget build(BuildContext context) {
      final store = useMemoized(() =&gt; MyStore());
      return Container();
    }
  }
  </code></pre>