<?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: Hisham Idris</title>
    <description>The latest articles on DEV Community by Hisham Idris (@vortex_shadow_8bce7f9fe36).</description>
    <link>https://dev.to/vortex_shadow_8bce7f9fe36</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3717176%2F79b80889-2250-4837-8765-18ba7848c85e.png</url>
      <title>DEV Community: Hisham Idris</title>
      <link>https://dev.to/vortex_shadow_8bce7f9fe36</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vortex_shadow_8bce7f9fe36"/>
    <language>en</language>
    <item>
      <title>The Offline-First Struggle: How I Built a Robust Sync Engine for Flutter (SynapseLink)</title>
      <dc:creator>Hisham Idris</dc:creator>
      <pubDate>Sat, 24 Jan 2026 21:07:44 +0000</pubDate>
      <link>https://dev.to/vortex_shadow_8bce7f9fe36/the-offline-first-struggle-how-i-built-a-robust-sync-engine-for-flutter-synapselink-4d8a</link>
      <guid>https://dev.to/vortex_shadow_8bce7f9fe36/the-offline-first-struggle-how-i-built-a-robust-sync-engine-for-flutter-synapselink-4d8a</guid>
      <description>&lt;p&gt;Introduction: Building a robust offline-first application is more than just caching data; it's about managing consistency. After struggling with manual sync logic in complex ERP-style apps, I decided to build a standard solution.&lt;/p&gt;

&lt;p&gt;Meet SynapseLink v1.0.3: An Enterprise-Grade Offline Sync Engine that bridges the gap between Hive and Dio.&lt;/p&gt;

&lt;p&gt;Key Technical Insights:&lt;/p&gt;

&lt;p&gt;Intelligent Batching: Groups multiple offline actions into a single API request upon reconnection to save battery and server resources.&lt;/p&gt;

&lt;p&gt;Auth-Aware Engine: Automatically pauses the sync queue when a 401 error occurs and resumes once the token is refreshed.&lt;/p&gt;

&lt;p&gt;Deep Merge Resolution: A logic-heavy conflict resolver that ensures the most recent nested data is preserved.&lt;/p&gt;

&lt;p&gt;Get Involved: The project is fully Open Source and I’d love to hear your feedback on the architecture.&lt;/p&gt;

&lt;p&gt;📦 Pub.dev: &lt;a href="https://pub.dev/packages/synapse_link" rel="noopener noreferrer"&gt;https://pub.dev/packages/synapse_link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🚀 GitHub: &lt;a href="https://github.com/wisamidis/synapse-links" rel="noopener noreferrer"&gt;https://github.com/wisamidis/synapse-links&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💬 Discord: Connect with me at Vortex Shadow.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>opensource</category>
      <category>architecture</category>
    </item>
    <item>
      <title>The Most Dangerous Bug Is the One That Doesn’t Crash</title>
      <dc:creator>Hisham Idris</dc:creator>
      <pubDate>Sat, 17 Jan 2026 22:14:16 +0000</pubDate>
      <link>https://dev.to/vortex_shadow_8bce7f9fe36/the-most-dangerous-bug-is-the-one-that-doesnt-crash-1250</link>
      <guid>https://dev.to/vortex_shadow_8bce7f9fe36/the-most-dangerous-bug-is-the-one-that-doesnt-crash-1250</guid>
      <description>&lt;p&gt;Bugs that crash your app are easy to notice.&lt;/p&gt;

&lt;p&gt;The dangerous ones keep running… silently.&lt;br&gt;
They pass tests, types, and reviews — and still corrupt your logic.&lt;/p&gt;

&lt;p&gt;Here is a real example:&lt;br&gt;
&lt;code&gt;order.status = "paid";&lt;br&gt;
order.invoiceId = null;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;No crash.&lt;br&gt;
No error.&lt;br&gt;
Completely broken state.&lt;/p&gt;

&lt;p&gt;With a runtime invariant:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;invariant("order.status === 'paid' -&amp;gt; order.invoiceId != null");&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This fails immediately — exactly when the logic breaks.&lt;br&gt;
Not days later. Not in production.&lt;/p&gt;

&lt;p&gt;GitHub repository:&lt;br&gt;
&lt;a href="https://github.com/vortexshadow678-hash/invariant-guard" rel="noopener noreferrer"&gt;https://github.com/vortexshadow678-hash/invariant-guard&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
