<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Charlie Fisher</title>
    <description>The latest articles on DEV Community by Charlie Fisher (@charlie_tinkers).</description>
    <link>https://dev.to/charlie_tinkers</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4210606%2Fe2733e9b-4156-4652-b5bf-46c4e2edade8.jpg</url>
      <title>DEV Community: Charlie Fisher</title>
      <link>https://dev.to/charlie_tinkers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/charlie_tinkers"/>
    <language>en</language>
    <item>
      <title>The offline-first decision I put off for a year</title>
      <dc:creator>Charlie Fisher</dc:creator>
      <pubDate>Tue, 27 Oct 2026 15:41:48 +0000</pubDate>
      <link>https://dev.to/charlie_tinkers/the-offline-first-decision-i-put-off-for-a-year-15ij</link>
      <guid>https://dev.to/charlie_tinkers/the-offline-first-decision-i-put-off-for-a-year-15ij</guid>
      <description>&lt;p&gt;For a year I told myself my Flutter app didn't need offline support. Then I spent a week in a place with terrible signal and realized how much of the app was pointless without a network.&lt;/p&gt;

&lt;p&gt;Adding offline-first after the fact is much harder than starting with it. What I'd do differently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Model every write as an operation that can be queued&lt;/li&gt;
&lt;li&gt;Give every entity a local id and a server id&lt;/li&gt;
&lt;li&gt;Decide the conflict rule &lt;em&gt;before&lt;/em&gt; writing sync code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We went with "last write wins per field" and it's been fine for our use case, but I regret not writing down the rule earlier.&lt;/p&gt;

&lt;p&gt;I'm learning Zig on the side, mostly out of curiosity about low-level memory. It's a very different world from Dart, and that's the point.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>mobile</category>
      <category>sync</category>
    </item>
  </channel>
</rss>
