<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Flutter</anon>
  </categories>
  <description>FlutterのRiverpodの話。 10月に入って、作りかけのアプリのProvider -&gt; Riverpodへのリプレイスを行っています。zennで公開されているRiverpod解説には大変お世話になりました。 ひとつわからなかったのが、「タブを切り替えた時に自動でそのページの中身をリロードして欲しい」という処理の書き方。 StatefulWidgetであれば、initStateが使える。ただ、Riverpodで提供されているHookWidgetやConsumerWidgetには、StatefulWidgetが提供するライフサイクルが存在しない。少なくとも、Riverpodの1.4系だと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2021%2F10%2F26%2F154431&quot; title=&quot;RiverpodでinitStateを使わず、autoDisposeでUIを再構築する - Life is Really Short, Have Your Life!!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-26 15:44:31</published>
  <title>RiverpodでinitStateを使わず、autoDisposeでUIを再構築する</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2021/10/26/154431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
