<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Yosef Adel · Notes</title>
    <link>https://yosefadel.com/notes</link>
    <description>Software engineer making videos and written notes on the why behind the code, for Arabic-speaking engineers.</description>
    <language>en</language>
    <atom:link href="https://yosefadel.com/feed.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>Why useState takes a function</title>
      <link>https://yosefadel.com/notes/why-usestate-takes-a-function</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/why-usestate-takes-a-function</guid>
      <pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate>
      <description>The initial value is only used once, but the expression that computes it runs on every render. Pass a function and React calls it once.</description>
    </item>
    <item>
      <title>State isn&apos;t a variable, it&apos;s a snapshot</title>
      <link>https://yosefadel.com/notes/state-is-a-snapshot</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/state-is-a-snapshot</guid>
      <pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate>
      <description>Each render gets its own copy of state. setState doesn&apos;t change it; it asks React for a new render with a new value.</description>
    </item>
    <item>
      <title>The fix isn&apos;t React.memo</title>
      <link>https://yosefadel.com/notes/move-state-down</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/move-state-down</guid>
      <pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate>
      <description>When typing makes an unrelated component rerender, the state usually lives in the wrong place. Move it down, or pass the heavy part as children.</description>
    </item>
    <item>
      <title>A rerender is not the problem</title>
      <link>https://yosefadel.com/notes/rerender-is-not-the-problem</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/rerender-is-not-the-problem</guid>
      <pubDate>Sat, 03 Oct 2026 00:00:00 GMT</pubDate>
      <description>Most rerenders cost almost nothing, because rendering is not touching the DOM. Count milliseconds, not rerenders.</description>
    </item>
    <item>
      <title>How useEffect actually works</title>
      <link>https://yosefadel.com/notes/how-useeffect-works</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/how-useeffect-works</guid>
      <pubDate>Sat, 19 Sep 2026 00:00:00 GMT</pubDate>
      <description>Most explanations describe what you observed. This one sticks to what the docs and the source say: when effects run, how dependencies are compared, and why cleanup comes first.</description>
    </item>
    <item>
      <title>The cost nobody talks about when you lean on AI</title>
      <link>https://yosefadel.com/notes/the-cost-of-leaning-on-ai</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/the-cost-of-leaning-on-ai</guid>
      <pubDate>Sat, 12 Sep 2026 00:00:00 GMT</pubDate>
      <description>AI raises the standard you need to teach yourself. It doesn&apos;t lower it.</description>
    </item>
    <item>
      <title>Events are collections that arrive over time</title>
      <link>https://yosefadel.com/notes/events-are-collections-that-arrive-over-time</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/events-are-collections-that-arrive-over-time</guid>
      <pubDate>Mon, 17 Aug 2026 00:00:00 GMT</pubDate>
      <description>Stop treating events as isolated callbacks with flags. An observable is a collection whose items arrive one by one, so the tools you use on arrays work on events too.</description>
    </item>
    <item>
      <title>async/await is generators without the plumbing</title>
      <link>https://yosefadel.com/notes/async-await-is-generators-without-the-plumbing</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/async-await-is-generators-without-the-plumbing</guid>
      <pubDate>Mon, 11 May 2026 00:00:00 GMT</pubDate>
      <description>async/await didn&apos;t add a new concept to JavaScript. It&apos;s a generator, a promise and the microtask queue, with the engine writing the glue code for you.</description>
    </item>
    <item>
      <title>NGINX: load balancing</title>
      <link>https://yosefadel.com/notes/nginx-load-balancing</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-load-balancing</guid>
      <pubDate>Fri, 21 Nov 2025 00:00:00 GMT</pubDate>
      <description>Spread traffic across several backends: round robin, least_conn, ip_hash, hash, weights, and handling servers that fail.</description>
    </item>
    <item>
      <title>NGINX: reverse proxy for a Node.js backend</title>
      <link>https://yosefadel.com/notes/nginx-reverse-proxy</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-reverse-proxy</guid>
      <pubDate>Fri, 14 Nov 2025 00:00:00 GMT</pubDate>
      <description>Put NGINX in front of an app on port 3000: upstream, proxy_pass, the headers your backend needs, WebSockets and buffering.</description>
    </item>
    <item>
      <title>NGINX: where the config lives</title>
      <link>https://yosefadel.com/notes/nginx-files-and-directories</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-files-and-directories</guid>
      <pubDate>Fri, 07 Nov 2025 00:00:00 GMT</pubDate>
      <description>The main config file you shouldn&apos;t touch, the two folders it includes, where your site&apos;s files go, and where the logs are.</description>
    </item>
    <item>
      <title>NGINX: installation and the commands you&apos;ll actually use</title>
      <link>https://yosefadel.com/notes/nginx-installation</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-installation</guid>
      <pubDate>Fri, 07 Nov 2025 00:00:00 GMT</pubDate>
      <description>What a web server is, installing NGINX on Ubuntu, and the small set of systemctl and nginx commands behind every config change.</description>
    </item>
    <item>
      <title>NGINX: location blocks</title>
      <link>https://yosefadel.com/notes/nginx-location-blocks</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-location-blocks</guid>
      <pubDate>Fri, 07 Nov 2025 00:00:00 GMT</pubDate>
      <description>Routing inside NGINX: try_files, the five kinds of location match and their priority, autoindex, internal locations and caching static files.</description>
    </item>
    <item>
      <title>NGINX: your first server block</title>
      <link>https://yosefadel.com/notes/nginx-web-server-fundamentals</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/nginx-web-server-fundamentals</guid>
      <pubDate>Fri, 07 Nov 2025 00:00:00 GMT</pubDate>
      <description>The two ways to add config, replacing the default site, and what each line of a basic server block does: listen, root, index, server_name and default_server.</description>
    </item>
    <item>
      <title>AI is a leaky abstraction</title>
      <link>https://yosefadel.com/notes/ai-is-a-leaky-abstraction</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/ai-is-a-leaky-abstraction</guid>
      <pubDate>Thu, 24 Jul 2025 00:00:00 GMT</pubDate>
      <description>All non-trivial abstractions leak, and AI is one more layer on top of how we write code. When it leaks, only the people who know the fundamentals keep moving.</description>
    </item>
    <item>
      <title>Hooking Redux up to React</title>
      <link>https://yosefadel.com/notes/hooking-redux-with-react</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/hooking-redux-with-react</guid>
      <pubDate>Sun, 23 Feb 2025 00:00:00 GMT</pubDate>
      <description>Take the store from the plain-JavaScript videos and connect it to a React counter with react-redux: Provider, useSelector and useDispatch.</description>
    </item>
    <item>
      <title>Redux without React: bindActionCreators, combineReducers and middleware</title>
      <link>https://yosefadel.com/notes/redux-without-react-actions-reducers-and-middleware</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/redux-without-react-actions-reducers-and-middleware</guid>
      <pubDate>Sun, 16 Feb 2025 00:00:00 GMT</pubDate>
      <description>The last three Redux functions: skip typing dispatch every time, split one big reducer into small ones, and hook into every action with middleware.</description>
    </item>
    <item>
      <title>Redux without React: compose and createStore</title>
      <link>https://yosefadel.com/notes/redux-without-react-compose-and-createstore</link>
      <guid isPermaLink="true">https://yosefadel.com/notes/redux-without-react-compose-and-createstore</guid>
      <pubDate>Sat, 15 Feb 2025 00:00:00 GMT</pubDate>
      <description>Redux has a tiny API: five functions, plus four methods on the store. Learn them in plain JavaScript first, starting with compose and createStore.</description>
    </item>
  </channel>
</rss>
