<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bhusalamrit on Medium]]></title>
        <description><![CDATA[Stories by Bhusalamrit on Medium]]></description>
        <link>https://medium.com/@bhusalamrit41?source=rss-7d635de89381------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Bhusalamrit on Medium</title>
            <link>https://medium.com/@bhusalamrit41?source=rss-7d635de89381------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 16:57:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhusalamrit41/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Performance Optimization: A Practical Guide]]></title>
            <link>https://medium.com/@bhusalamrit41/performance-optimization-a-practical-guide-f0fabf3929f6?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0fabf3929f6</guid>
            <category><![CDATA[jvascript]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 09:34:13 GMT</pubDate>
            <atom:updated>2026-09-22T09:34:13.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TarwxVDbyc4OS6JoBA33Lg.png" /></figure><p>Making a website load faster and feel smoother during real use is what performance optimization is all about — not just the first page load, but also how responsive things feel when someone clicks, types, or scrolls. Better performance isn’t just a technical nicety either: it increases user retention, improves SEO, reduces bounce rates, and creates a better overall product experience. At its core, optimization means identifying bottlenecks and cutting unnecessary work — oversized images, unused code, excessive JavaScript, slow network requests.</p><h3>Diagnosing Problems: The Tools</h3><p><strong>Chrome DevTools</strong> is where most diagnosis starts. The <strong>Network tab</strong> helps you find large images, scripts, fonts, or API requests that take too long to load, catch duplicate or unnecessary requests, and verify that caching, compression, and lazy loading are actually working. The <strong>Performance tab</strong> goes deeper into CPU work — it identifies JavaScript tasks blocking the main thread and surfaces rendering or painting bottlenecks during load and interaction, which is where you find the fixes for lag and sluggish responsiveness. The <strong>Coverage tab</strong> rounds it out by showing exactly how much shipped CSS and JavaScript never even runs, so you know what’s safe to strip from production bundles.</p><p><strong>PageSpeed Insights</strong> takes a step back and helps prioritize what’s actually worth fixing. It shows issues affecting real visitors rather than just test environments, and it’s especially useful for measuring whether your changes are helping on different devices and networks — including progress on Core Web Vitals and SEO.</p><p><strong>WebPageTest</strong> shines when problems are environment-specific. You can test from different countries and cities to catch regional latency issues, simulate slow mobile networks, and use waterfall charts to pinpoint the exact request delaying rendering. It also lets you compare before-and-after results with visual loading videos.</p><p><strong>GTmetrix</strong> is built for tracking performance over time rather than one-off testing — a readable waterfall chart for spotting large assets, historical tracking after deployments, and comparisons across locations and devices.</p><h3>Core Web Vitals</h3><p>These three metrics are the real signal for whether your optimizations are improving the experience users actually have.</p><p><strong>LCP (Largest Contentful Paint)</strong> measures how fast the main visible content loads. Improve it by compressing and properly sizing hero images, switching to modern formats like WebP or AVIF, preloading important assets, improving server response time, and reducing render-blocking CSS and JS.</p><p><strong>INP (Interaction to Next Paint)</strong> measures how quickly the page responds to what the user does. The fixes here are reducing long JavaScript tasks, splitting large bundles, avoiding unnecessary re-renders, and optimizing event handlers and expensive computations so the main thread stays free.</p><p><strong>CLS (Cumulative Layout Shift)</strong> measures visual stability. Reserve space for images, ads, and embeds, set explicit width and height on media, avoid inserting content above what’s already rendered, and load fonts in a way that doesn’t cause text to jump around.</p><h3>Code Splitting &amp; Bundle Optimization</h3><p>The basic idea is simple: ship less JavaScript upfront. Load only what the current page or feature actually needs, which cuts parsing and execution time and makes the app feel faster from the first paint.</p><p><strong>Bundle/code splitting</strong> breaks one large JS bundle into smaller chunks loaded only when needed, so users never download code for pages they may never visit. This is typically done with dynamic imports and route-based lazy loading — modern frameworks like Next.js, Vite, and Webpack support it automatically.</p><p><strong>Tree shaking</strong> removes code that’s never used — unused functions, components, and modules get eliminated from the production bundle. It works best with ES module syntax and is supported by Webpack, Rollup, and Vite.</p><p><strong>Compression</strong> reduces the size of files sent from the server — HTML, CSS, JS, JSON, and other text assets. Gzip is widely supported and effective; Brotli compresses even better for many text-based files. This is usually enabled at the server or CDN level and paired with minification, which strips unnecessary whitespace, comments, and characters before compression.</p><h3>Loading Strategies</h3><p>These techniques control <em>when</em> resources load, and the win comes from cutting what competes for bandwidth and execution time during that critical initial load.</p><p><strong>Dynamic loading</strong> shrinks the initial bundle by excluding code the page doesn’t need yet — think modals, chatbots, or heavy chart libraries — deferring that cost to the moment of interaction, when a small delay barely registers.</p><p><strong>Lazy loading</strong> stops the browser from spending bandwidth on images or media that aren’t visible yet, which directly helps LCP since above-the-fold content isn’t stuck queued behind off-screen images. It’s implemented natively with loading=&quot;lazy&quot;, or via JS libraries for finer control.</p><p><strong>Preloading</strong> removes the delay caused by late resource discovery — the browser normally finds critical resources like fonts, hero images, and key CSS only after parsing HTML/CSS, so &lt;link rel=&quot;preload&quot;&gt; tells it to start immediately. Use it sparingly, since forcing early priority on one resource means it competes with others for bandwidth.</p><p><strong>Prefetching</strong> uses idle bandwidth now to eliminate load time later — fetching resources for a likely next action so future navigation has less to load. It’s implemented via &lt;link rel=&quot;prefetch&quot;&gt; and is lower priority by design, so it won&#39;t steal bandwidth from what the current page needs.</p><p><strong>Preconnect</strong> removes connection setup latency — DNS lookup, TCP handshake, TLS negotiation — from the critical path by doing it ahead of time. It’s most valuable for third-party domains like CDNs, font providers, and APIs, implemented via &lt;link rel=&quot;preconnect&quot;&gt;.</p><p><strong>Load on demand</strong> is the broader concept dynamic and lazy loading both fall under: defer content, components, or data fetches until the user actually interacts with that part of the page. Comments loaded on scroll, tables loaded after a filter, “load more” pagination — all examples of shifting cost to the moment of demand instead of front-loading everything.</p><h3>Caching &amp; Storage</h3><p>Caching saves a copy of something so the browser, server, or network doesn’t redo work it’s already done — replacing an expensive operation with a cheap one.</p><p><strong>Browser cache storage</strong> eliminates the network request entirely on repeat visits when a file is still fresh. ETags let the browser check “has this changed?” with a lightweight request instead of a full re-download, and Cache-Control/Expires headers set how long a file can be reused before the browser bothers checking again. The biggest wins come from applying long cache lifetimes to files that rarely change — logos, fonts, versioned JS/CSS.</p><p><strong>Service workers</strong> remove the network as a dependency altogether by intercepting requests and serving cached responses directly, giving fine-grained control over caching strategy — cache-first, network-first, stale-while-revalidate — so an app can trade speed for freshness per resource. They’re the core technology behind PWAs, and also enable push notifications and background sync. The trade-off: the performance gain depends entirely on getting the caching logic right.</p><p><strong>Server-side caching</strong> avoids repeating expensive backend work — caching database query results skips re-running costly queries, caching rendered pages skips regenerating identical HTML. The benefit lives on the server, so it speeds up every visitor, not just returning ones. Redis, Memcached, and framework-level caching (Next.js, WordPress) handle the storing and invalidation.</p><p><strong>CDN caching</strong> cuts physical distance out of the equation — static files get cached on servers geographically close to the user, directly reducing latency for distant visitors and improving resilience under load by spreading traffic across many servers instead of one origin. Cloudflare, Akamai, and Amazon CloudFront are the common providers.</p><h3>Image &amp; Video Optimization</h3><p>Favor <strong>SVG</strong> for icons and logos — smaller than raster images and infinitely scalable. Switch raster images to <strong>WebP</strong> instead of JPG/PNG for smaller files at similar quality. Serve <strong>responsive images</strong> sized for the user’s actual screen so mobile devices aren’t downloading desktop-sized files. <strong>Compress</strong> images to cut file size while keeping acceptable quality, and <strong>lazy-load</strong> media so it only loads when it’s about to enter the viewport. For video, compress it, use efficient codecs, offer appropriate resolutions, and avoid loading video the user hasn’t shown interest in playing.</p><h3>Reduce HTTP Requests</h3><p><strong>Combine files</strong> — merging CSS and JS files where it makes sense cuts the number of requests and reduces network overhead. <strong>Use HTTP/2 or HTTP/3</strong>, which support multiplexing so multiple resources travel over a single connection. And <strong>reduce third-party scripts</strong> — analytics, ads, and widgets all add requests and JS execution that slow the page down.</p><h3>CSS &amp; JavaScript Best Practices</h3><p>Keep JS and CSS in <strong>external files</strong> rather than inline, so the browser can cache and reuse them. <strong>Remove unused code</strong> — styles, scripts, dependencies, libraries that never run just add weight. Prioritize <strong>critical CSS</strong> — the styles needed for the initial screen — so the browser can render sooner while less important styles load later. <strong>Minify and compress</strong> production CSS/JS to strip unneeded characters, then compress with Brotli or Gzip. <strong>Split code</strong> into chunks loaded only when required. Use <strong>defer</strong> for scripts that depend on the DOM and <strong>async</strong> for independent ones, so JavaScript doesn&#39;t block rendering. And when animating, stick to <strong>transform</strong> and <strong>opacity</strong>, which avoid expensive layout and paint work.</p><h3>Optimize Web Fonts</h3><p><strong>Limit font weights and styles</strong> to only what’s actually used — every extra file is more data to download. <strong>Preload key fonts</strong> needed for initial rendering so users see real text sooner instead of a fallback. And use <strong>system fonts</strong> when a custom typeface isn’t essential, since they’re already on the device and need no network request at all.</p><h3>Rendering &amp; DOM</h3><p><strong>Server-side rendering (SSR)</strong> sends HTML that already contains the content, so users see something meaningful sooner — good for both load time and SEO. <strong>Static site generation (SSG)</strong> goes further, generating pages at build time when content doesn’t need to be dynamic per request.</p><p>Beyond rendering strategy, <strong>keep the DOM small</strong> — a large DOM makes layout, style calculation, and paint more expensive on every update. <strong>Avoid layout thrashing</strong> by batching DOM reads and writes instead of interleaving them, which forces repeated layout recalculation. And for large lists or tables, use <strong>virtualization</strong> so only visible rows get rendered, rather than the entire dataset at once.</p><h3>JavaScript Runtime Optimization</h3><p>Use <strong>event delegation</strong> — one listener on a parent element instead of many on individual children — to cut memory usage on large or dynamic lists. <strong>Debounce and throttle</strong> frequently firing events like scroll, resize, and input so they don’t run more often than needed. Push CPU-intensive work into <strong>web workers</strong> so it runs off the main thread and doesn’t block the UI. And <strong>clean up after yourself</strong> — listeners, timers, subscriptions, and observers left dangling cause memory leaks that slowly degrade long sessions.</p><h3>Animation &amp; CDN</h3><p>Use animations sparingly, and when you do, prefer <strong>transform</strong> and <strong>opacity</strong> — properties the browser can handle efficiently without triggering layout recalculation. And serve static assets through a <strong>CDN</strong> so files come from servers physically closer to the user, cutting latency especially for distant visitors.</p><h3>The Performance Optimization Process</h3><p>A repeatable, five-step cycle for improving and maintaining performance on any website or product.</p><h3>1. Measure</h3><p>Before touching any code, establish a baseline. Record load times, response times, and interaction responsiveness under realistic conditions — test on both mobile and desktop, since the two behave very differently, and capture a “before” snapshot (screenshots, waterfall charts, timing data) so later comparisons mean something. If your audience is geographically spread out, test from multiple locations too.</p><p>Check Core Web Vitals — LCP, INP, and CLS — using PageSpeed Insights to compare lab data (simulated tests) against field data (real users), since a page can test well in the lab and still perform poorly for actual visitors on slower devices or networks. Track these over time rather than as a one-off check.</p><p>Then profile network and CPU usage: the Network tab for large assets and slow requests (and to confirm caching/compression/lazy loading are working), the Performance tab for long JS tasks and rendering bottlenecks, the Coverage tab for dead code, and WebPageTest or GTmetrix for deeper, environment-specific diagnosis.</p><h3>2. Identify the Bottleneck</h3><p>The data from measurement should point to where the slowdown actually lives. It’s usually one of these areas:</p><p><strong>Network</strong> — large or slow assets, too many requests, poor caching, slow third-party scripts, or no CDN for distant users.</p><p><strong>Server</strong> — slow response time (TTFB), expensive work repeated on every request instead of cached, no server or CDN caching, an under-provisioned server buckling under traffic, or a rendering strategy mismatch (rendering dynamically when SSG or cached SSR would do).</p><p><strong>JavaScript</strong> — too much shipped upfront, long tasks blocking the main thread (anything over roughly 50ms shows up as poor INP), expensive main-thread computation, unnecessary re-renders, unthrottled high-frequency handlers, dead or duplicate code, and memory leaks.</p><p><strong>Rendering</strong> — render-blocking CSS/JS in the head, a large DOM, layout thrashing from interleaved reads and writes, animations on properties that trigger layout or paint, layout shift from unreserved media dimensions or late-injected content, and long unvirtualized lists.</p><p><strong>Images/media</strong> — oversized images for their display size, outdated formats (JPG/PNG instead of WebP/AVIF, raster instead of SVG for icons), no responsive sizing, off-screen media loading eagerly, unoptimized video, and missing width/height causing reflow.</p><p><strong>Database/API</strong> — slow queries from missing indexes or full table scans, N+1 query patterns, over-fetching unused fields, waterfalled sequential requests that should run in parallel, no caching layer, missing pagination, and chatty clients making many small requests that could be combined.</p><h3>3. Optimize the Bottleneck</h3><p>Fix the specific thing the data pointed to — nothing else. Apply the smallest effective change first rather than a broad rewrite, and prefer configuration and platform features where possible. Don’t chase micro-optimizations that don’t matter next to the dominant cost — find the biggest number first. Change one thing at a time, since bundling several optimizations together makes it impossible to tell what helped and what regressed something else. And weigh the trade-offs honestly: caching brings staleness, code splitting adds request overhead, aggressive compression costs CPU. Correctness always comes before speed — a faster page showing stale, broken, or shifting content isn’t actually an improvement.</p><h3>4. Measure Again</h3><p>Verify the change actually helped, under the same conditions as the baseline. Re-run the same tools, compare concrete numbers, and run more than once. Then check real user data, not just lab results — a smaller bundle that introduces request waterfalls can be a net loss. If the numbers didn’t move, the diagnosis was wrong.</p><h3>5. Monitor Continuously</h3><p>Performance decays as features ship, so treat this as ongoing rather than a one-time project. Collect Core Web Vitals field data continuously instead of relying on occasional manual checks, and watch the trends. Set explicit performance budgets — bundle size limits enforced in CI. And monitor for regressions after every deployment: compare metrics before and after release, alert on threshold breaches, and periodically re-audit third-party scripts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0fabf3929f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Frontend Security: Things We Get Wrong]]></title>
            <link>https://medium.com/@bhusalamrit41/frontend-security-things-we-get-wrong-c28e96034aba?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/c28e96034aba</guid>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 09:36:32 GMT</pubDate>
            <atom:updated>2026-09-22T06:12:39.504Z</atom:updated>
            <content:encoded><![CDATA[<p>Most frontend teams genuinely care about security. Yet the same handful of mistakes keep showing up, not because people are careless, but because a few of these ideas are easy to half understand. Here’s a walk through the ones that come up again and again.</p><h3>XSS and the Same Origin Rule</h3><p>Browsers keep websites separate using the same origin policy: one site’s code can’t normally touch another’s data. XSS (cross site scripting) breaks that wall by tricking your site into running an attacker’s code as if it were your own.</p><p>It only takes two things going wrong at once: your page accepts text from an outside source, and it displays that text without cleaning it first. When both happen, the attacker’s code can read everything on the page, grab stored data, and send requests as the logged in user.</p><h3>“React Prevents XSS”: Only Partly True</h3><p>React’s JSX automatically encodes any value you insert, so it can’t accidentally turn into runnable HTML. That covers the common case of showing plain text.</p><p>But escaping is contextual, not universal. Attributes, scripts, and styles each follow their own rules. There’s a sneaky trap here too: an unquoted attribute can still run code (onmouseover=alert(1)), even if quotes are handled correctly everywhere else.</p><p>Two defenses actually hold up:</p><ol><li>Sanitize by default. If raw HTML has to be rendered, use a vetted library like DOMPurify rather than a homemade cleaner.</li><li>CSP. A backup layer, not your main line of defense.</li></ol><h3>Content Security Policy (CSP), Done Right</h3><p>CSP tells the browser what code is allowed to run, so the damage is limited if XSS ever does get through.</p><p>Avoid allowlist CSPs (listing approved domains). They’re hard to maintain and break the moment a third party script changes something. A strict CSP, built on nonces or hashes, works better. It blocks inline event handlers, eval(), object embeds, and &lt;base&gt; tag hijacking.</p><p>Rolling it out in five steps:</p><ol><li>Test with Content-Security-Policy-Report-Only first.</li><li>Pick nonces for dynamic pages or hashes for static content.</li><li>Turn on the strict policy for real.</li><li>Add strict-dynamic for scripts that load other scripts.</li><li>Fix whatever breaks, usually inline handlers, by switching to addEventListener.</li></ol><p>If a strict policy isn’t realistic yet, fall back to default-src https:. Just never reach for unsafe-inline, data: URIs in script-src, or wildcard sources.</p><h3>What’s Hiding Inside Your Shipped Code</h3><p>Anything reachable in shipped code is information leakage, basically a free map handed to attackers. Three things worth checking regularly:</p><ul><li><strong>Hardcoded secrets</strong>: credentials or database strings typed straight into JS.</li><li><strong>Weakly scoped API keys</strong>: exposed keys should be restricted by IP, referrer, or API.</li><li><strong>Leaked internal routes</strong>: admin URLs or internal IPs left sitting in config objects.</li></ul><h3>Source Maps</h3><p>Source maps turn minified JS back into readable code. Check for file.js.map sitting next to file.js. And remember: minifying isn&#39;t the same as hiding. Text and strings survive just fine; only variable names shrink.</p><ul><li>Decide on purpose whether maps ship publicly, or send them privately to tools like Sentry instead.</li><li>Grep shipped code for secrets, and check key scoping on a regular basis.</li></ul><h3>Auth and the Session Boundary</h3><ul><li><strong>CSRF</strong> tricks a browser into sending a real, authenticated request the user never meant to send. Fix it with CSRF tokens plus SameSite cookies.</li><li><strong>Token storage matters.</strong> localStorage is readable by JS, which means XSS can read it too. An httpOnly cookie can&#39;t be read by JS at all.</li><li><strong>Cookies vs. localStorage:</strong> cookies can be locked down with httpOnly, Secure, and SameSite. localStorage has none of those protections. Use cookies for auth.</li><li><strong>Client side authorization</strong> is a UI convenience, not real security. Hiding a button doesn’t block the action; always recheck permissions on the server.</li></ul><h3>What the Browser and Network Expose</h3><ul><li><strong>CORS</strong>: a misconfigured header lets any site read data meant only for yours. Allow only trusted origins, and never mix a wildcard * with credentials.</li><li><strong>Exposed env vars</strong>: build tools can bake “secret” variables straight into public JS. Only mark values public if they’re genuinely fine to be public.</li><li><strong>URL manipulation</strong>: editing IDs in a URL can expose someone else’s data if the backend doesn’t recheck permissions.</li><li><strong>Open redirects</strong>: a redirect that accepts any URL can send users straight to a phishing page. Only redirect to a trusted allowlist.</li></ul><h3>What We Didn’t Write Ourselves</h3><p>Most of a modern frontend is dependency code, and it runs with the same trust as your own. Risk creeps in through compromised packages, typo squatted names (reqeust instead of request), or transitive dependencies you never chose directly.</p><p><strong>Keep it in check:</strong></p><ul><li>Pin versions and review updates before merging.</li><li>Run automated vulnerability scans in CI.</li><li>Use lockfiles for exact, repeatable installs.</li><li>Keep the dependency list as small as the task allows.</li></ul><h3>Before You Ship</h3><ul><li>Sanitize raw HTML. Don’t rely on React alone.</li><li>Move to a strict, nonce or hash based CSP.</li><li>Grep production JS for secrets, and check for source map exposure.</li><li>Store tokens in httpOnly cookies, not localStorage.</li><li>Recheck permissions server side, never just in the UI.</li><li>Pin dependencies and scan them in CI.</li></ul><p>None of these fixes are hard on their own. What makes frontend security tricky is that the mistakes hide in plain sight. Once you know where to look, checking takes minutes, not weeks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c28e96034aba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monorepo vs. Submodule]]></title>
            <link>https://medium.com/@bhusalamrit41/monorepo-vs-submodule-091878b68722?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/091878b68722</guid>
            <category><![CDATA[submodules]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[monorepo]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 06:16:01 GMT</pubDate>
            <atom:updated>2026-09-17T09:38:59.504Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jh36-i8jXSvTDTpqlDu1cA.png" /><figcaption>Monorepo vs. Submodule</figcaption></figure><h3>1. What is a monorepo?</h3><p>A monorepo is one Git repo that holds several projects. Each project has its own folder, but they all share the same commit history, the same issue tracker, and usually the same build tools.</p><pre>myorg/<br>├── apps/<br>│   ├── web/             (React frontend)<br>│   ├── marketing-site/  (public site)<br>│   └── backend/         (Django + GraphQL)<br>├── packages/<br>│   ├── graphql-schema/  (schema.graphql plus generated TS types)<br>│   └── ui/               (shared components)<br>├── deploy/               (helm, docker compose, shared CI config)<br>└── package.json          (workspace root)</pre><p>What a monorepo is NOT:</p><ul><li>It’s not “one big app.” Each app still builds, tests, and deploys separately.</li><li>It’s not “one language.” Python, TypeScript, and JavaScript can all live together.</li><li>It’s not the opposite of microservices. Splitting into microservices is about how things run. A monorepo is about how code is stored. Big companies run thousands of services from one repo.</li></ul><h3>2. Why bother?</h3><p>The main problem a monorepo fixes is keeping things in sync across projects.</p><p>When two projects share something, like an API contract or a shared type, that contract changes over time. If the projects live in separate repos, updating the contract takes at least two commits in two repos, landing at two different times. In between, the main branch of one project may not actually work with the main branch of the other. Every benefit below comes from removing that gap.</p><p>Benefit Why it happens Changes across projects happen together A backend field rename and the matching frontend change become one commit and one review, not a half finished update. CI tests the real combination CI checks out one snapshot of the whole codebase, so you’re never left wondering which backend version was tested with which frontend version. One shared version of things Shared code lives in packages/*. Other projects use it straight from the working folder. No publishing or version bumping needed. Easier company wide changes Rename a field, search the whole codebase, and fix every place that uses it in the same change. Easy onboarding Just git clone &amp;&amp; install &amp;&amp; run. No hunting for extra repos. One set of tools One linter, one formatter, one CI setup. Fix a rule once, it applies everywhere. Easy to share code Moving code into a shared folder is just a file move, not a whole new repo and release process.</p><h3>The real costs</h3><ul><li>CI needs to be smart about what it runs, or every small change triggers every test. Tools like Turborepo solve this by only running tests for what actually changed.</li><li>The repo grows bigger over time. This mostly matters at a very large scale, and there are ways to fetch only part of the history if needed.</li><li>Access control is rougher. Git permissions work per repo, not per folder. If someone should only see one project, that’s a suggestion, not something Git enforces.</li><li>Tools need to understand workspaces, which takes a bit of setup.</li><li>There’s a temptation to release everything together on the same schedule. Teams need discipline so “one repo” doesn’t turn into “one release train” for unrelated projects.</li></ul><p>Rule of thumb: if two projects change together often, they belong in one repo.</p><h3>3. How to build one</h3><h3>3.1 Pick your workspace tool</h3><p>Stack Tool JavaScript/TypeScript pnpm workspaces, plus Turborepo or Nx to manage tasks Python uv workspaces, or a separate pyproject.toml per app Mixed languages Bazel or Pants, but these are heavy. Only use them if simpler tools stop working</p><p>Two things are easy to mix up:</p><ul><li>pnpm workspaces link dependencies. It lets one app use another app’s code directly, no publishing needed.</li><li>Turborepo manages tasks. It decides what to run, in what order, and what to skip because it’s already been done.</li></ul><p>You can run a monorepo using just pnpm workspaces. You’ll just end up running every task every time, even if nothing changed.</p><h3>3.2 Folder layout</h3><pre>apps/       (things that get deployed: web, marketing-site, backend)<br>packages/   (shared code, never deployed on its own)<br>deploy/     (helm charts, docker compose, kubernetes config)</pre><h3>3.3 Set up the workspace (pnpm example)</h3><p>pnpm-workspace.yaml:</p><pre>packages:<br>  - &quot;apps/*&quot;<br>  - &quot;packages/*&quot;</pre><p>Root package.json:</p><pre>{<br>  &quot;private&quot;: true,<br>  &quot;scripts&quot;: {<br>    &quot;dev&quot;: &quot;turbo run dev&quot;,<br>    &quot;build&quot;: &quot;turbo run build&quot;,<br>    &quot;lint&quot;: &quot;turbo run lint&quot;<br>  },<br>  &quot;devDependencies&quot;: { &quot;turbo&quot;: &quot;^2&quot; }<br>}</pre><p>An app can use a shared package like this, no publishing needed:</p><pre>{ &quot;dependencies&quot;: { &quot;@myorg/graphql-schema&quot;: &quot;workspace:*&quot; } }</pre><h3>3.4 Moving existing repos in, without losing history</h3><p>Don’t just copy and paste files. That throws away the old commit history. Use git subtree instead:</p><pre>mkdir myorg &amp;&amp; cd myorg &amp;&amp; git init</pre><pre>git remote add web <a href="https://github.com/myorg/web-app">https://github.com/myorg/web-app</a><br>git fetch web<br>git subtree add --prefix=apps/web web main</pre><pre>git remote add backend <a href="https://github.com/myorg/backend-api">https://github.com/myorg/backend-api</a><br>git fetch backend<br>git subtree add --prefix=apps/backend backend main</pre><p>git-filter-repo is another option if you need to rewrite paths first. Either way, all the old commits are kept, just moved under a new folder.</p><h3>3.5 Still deploy each app separately</h3><p>One repo, but many separate deploy pipelines. Each app keeps its own Dockerfile and its own CI workflow, triggered only when its own files change. Tag releases per app, like web@1.4.0 and backend@2.1.0, so version history stays separate per app.</p><h3>4. Turborepo: what it does and why you’d want it</h3><h3>4.1 The problem it solves</h3><p>In separate repos, running CI naturally means running that one project’s tests. In one combined repo, the lazy default is to run everything, every time. A small CSS change in the frontend would then also trigger the whole Python test suite. This is the number one reason teams try a monorepo, get frustrated by slow CI, and give up on it.</p><p>Turborepo is a task runner with smart caching, built on top of your workspace setup. It doesn’t manage dependencies (pnpm does that) and it doesn’t compile your code (your normal build tools do that). It just decides what needs to run, in what order, and what can be skipped.</p><h3>4.2 The four things it does</h3><p><strong>a) Figures out task order automatically</strong></p><p>turbo.json describes what depends on what. Turbo works out the right order on its own:</p><pre>{<br>  &quot;tasks&quot;: {<br>    &quot;generate:types&quot;: {<br>      &quot;inputs&quot;: [&quot;../../packages/graphql-schema/schema.graphql&quot;, &quot;app/**/*.{ts,tsx}&quot;],<br>      &quot;outputs&quot;: [&quot;generated/**&quot;]<br>    },<br>    &quot;build&quot;: { &quot;dependsOn&quot;: [&quot;^build&quot;, &quot;generate:types&quot;], &quot;outputs&quot;: [&quot;build/**&quot;] },<br>    &quot;lint&quot;: { &quot;dependsOn&quot;: [&quot;generate:types&quot;] },<br>    &quot;dev&quot;: { &quot;cache&quot;: false, &quot;persistent&quot;: true }<br>  }<br>}</pre><p>^build means &quot;build everything this depends on first.&quot; No manual ordering, no long chained scripts. Add a new package and the order updates itself.</p><p><strong>b) Caches results based on content</strong></p><p>For each task, Turbo checks the source files, config, and settings involved. If it’s seen that exact combination before, it just reuses the old result instead of running the task again. A cache hit takes almost no time at all, because nothing actually runs.</p><p>This means how you describe a task’s inputs and outputs matters a lot. Miss an input and you might get a stale result. List too many inputs and the cache almost never gets used.</p><p><strong>c) Only runs tasks affected by a change</strong></p><pre># every package changed since main, plus anything that depends on them<br>pnpm turbo run lint build --filter=&quot;...[origin/main]&quot;</pre><pre># one package plus everything that depends on it<br>pnpm turbo run build --filter=@myorg/graphql-schema...</pre><p>This is what makes monorepo CI cheaper than separate repos, instead of more expensive. A frontend only change never triggers the backend pipeline, while a shared schema change automatically triggers both frontends that use it.</p><h3>4.3 Why this matters specifically in a monorepo</h3><p>Without Turbo With Turbo CI time equals the sum of every package’s tests CI time equals only the affected packages Task order is hardcoded into scripts Order is described once and figured out automatically Code generation reruns every single time Cached based on whether the schema actually changed Each frontend generates its own types separately One shared build, cached, used by every frontend Adding a new package means editing CI Adding a new package needs no CI changes</p><h3>4.4 When Turborepo actually helps</h3><p><strong>It helps when:</strong></p><ul><li>Code generation would otherwise rerun every single time a task runs, even when nothing relevant changed. With Turbo, that becomes a cache hit instead.</li><li>A shared build step, like generating types from a schema, would otherwise be duplicated across multiple frontends. Turbo lets it run once and be shared.</li><li>Filtering by what changed keeps backend-only changes from triggering frontend CI, and the other way around.</li><li>One command at the root can replace remembering which folder to run things in.</li></ul><p><strong>It helps less when:</strong></p><ul><li>Turbo runs package.json scripts. A non-JavaScript backend (e.g., Python/Django) has no package.json, so it needs either a thin wrapper script or its own separate CI setup, which is a reasonable choice.</li><li>Turbo’s cache is only as accurate as the inputs you describe. Getting this wrong for non-JS tasks risks stale results, so it’s often safer to leave those out of Turbo for now.</li><li>With only one JavaScript package and no real dependency graph, Turbo barely helps yet. Its value shows up once a second frontend and a shared schema package actually exist.</li></ul><p>Turborepo isn’t what makes a monorepo worth it. Keeping things in sync is. Turbo just keeps CI from getting slower once you combine repos.</p><h3>4.5 CI setup with Turbo</h3><pre>- uses: actions/checkout@v4<br>  with: { fetch-depth: 0 }        # turbo needs full history to compare against main<br>- run: pnpm install --frozen-lockfile<br>- run: pnpm turbo run lint build --filter=&quot;...[origin/main]&quot;</pre><p>Full commit history is required here. Without it, Turbo can’t tell what actually changed.</p><h3>4.6 Turborepo vs Nx</h3><p>Turborepo Nx How it works Caches and runs your existing scripts Has its own plugins, generators, and project graph Setup One small config file More config, more moving parts Mixed languages Works with anything you can script Has dedicated plugins, including for Python Learning curve A few hours A few days Good fit for a small/medium repo? Yes, small setup, works with existing scripts Probably overkill unless many more apps get added</p><p>Turborepo is usually the better starting choice for smaller setups. It’s a small commitment, and it’s easy to undo: delete the config file and just run scripts directly again.</p><h3>5. Monorepo vs. Git submodule</h3><p>A submodule is just a pointer. The main repo stores a path, a URL, and one specific commit of another repo. It’s not the actual code, it’s more like a bookmark that Git won’t follow unless you tell it to.</p><p>Submodule Monorepo Change across both projects 2+ separate merges, plus a commit just to update the pointer 1 single change Risk of mismatch Yes, if the pointer isn’t updated right away None Cloning Needs an extra step to also pull in the submodule Just clone, done Switching branches The pointer can silently change, and you might not notice The whole codebase moves together Undoing a change Revert both repos and hope the order works out One simple revert Big renames across the codebase Can’t easily see everywhere it’s used Just search the whole repo Access control Per repo, and Git actually enforces it Rougher, mostly relies on trust Repo size Smaller main repo Bigger, but manageable Shared tools Duplicated in each repo One shared setup CI Each repo only tests itself One snapshot, the real combination tested together Task caching No sharing between repos Shared across the whole codebase</p><p>Submodules make sense for something like a third party dependency you use but don’t actively develop yourself, something pinned on purpose and rarely updated. That’s very different from a backend your own team ships every week.</p><p>The core problem with submodules in one line: the pointer is a second thing that has to stay in sync, and Git won’t ever remind you to update it.</p><p>There’s a third option too, worth mentioning because it’s the cheapest: true separate repos, where one project publishes an artifact (like a schema file) as a release, and the other project just downloads it. This avoids the submodule without merging anything. You give up perfect sync in exchange for barely any migration work.</p><h3>6. Example: converting a submodule-based project into a monorepo</h3><h3>6.1 A typical starting point</h3><p>Picture a frontend app that pulls in a backend repo as a Git submodule under ./backend:</p><ul><li>Config files point to ./backend/schema.graphql in several places.</li><li>The main docker compose file merges with the backend’s own compose file using relative paths that only make sense from inside the submodule, which the README has to explain.</li><li>CI already checks out both repos on every run.</li><li>Local development already spans both repos.</li></ul><p>One thing that cuts the other way: if there’s currently only one JavaScript package, no shared internal packages yet, and the backend is written in a different language, then pnpm workspaces alone can’t manage everything. So early on, the actual win available is “one Git repo,” not “one shared build system.” The Turborepo half of the benefit only kicks in once a second frontend and a shared schema package actually exist.</p><h3>6.2 The real pain this removes</h3><p><strong>a) Schema changes stop needing two steps.</strong> Right now, adding a backend field means merging it in the backend repo, then updating the pointer in the frontend repo, and only then does type generation actually see the new field. Forget that pointer update, and CI silently uses the old version, generates the old types, and the frontend fails to build for a reason that isn’t visible anywhere in the change itself. In one repo, the schema change and the code using it are the same commit. Nothing can fall out of sync.</p><p><strong>b) The submodule pointer update stops being confusing.</strong> A moved pointer could mean several different things, and reviewers only see a bare commit reference with no actual changes to review. In one repo, the backend change is right there in the pull request, fully reviewable.</p><p><strong>c) Onboarding and switching branches get simpler.</strong> The extra step needed to pull in the submodule disappears. So does the whole category of bugs from switching branches and ending up with the backend on the wrong commit.</p><p><strong>d) The awkward path setup for docker compose goes away.</strong> All the relative path workarounds exist only because two separately rooted repos need to be stitched together at runtime. With both apps under one root, one plain compose file can reference both services normally.</p><p><strong>e) CI actually tests the real combination.</strong> Right now each repo’s CI can pass on its own while the combination between them is actually broken. With one repo, one snapshot means the frontend and backend are always verified together, and filtering keeps that fast.</p><p><strong>f) Big renames become easy to verify.</strong> Renaming something today means asking around to see who uses it and trusting the answer. In one repo, a simple search across the whole codebase tells you for certain, and the fix can ship in the same change as the rename.</p><p><strong>g) Room to add the next app easily.</strong> A second frontend, like a marketing site, would otherwise become a third repo with its own copy of the same setup. In one repo, it’s just a new folder that imports the shared schema package, with generation done once and shared by both frontends.</p><h3>6.3 What it would cost</h3><ul><li>About one day for the actual migration: moving both repos in, updating paths, rewriting the compose file and CI workflows, and republishing deploy config.</li><li>A few config paths need updating, which is a quick and easy search and replace.</li><li>The deploy publishing setup needs to be checked and possibly re-pointed if things move.</li><li>Tags change from repo-level to per-app, like web@x.y.z and backend@x.y.z.</li><li>Any open pull requests in either repo need to be merged or rebased before the move.</li><li>CI needs to filter by what actually changed from day one, or every change will trigger everything.</li><li>Anyone using the backend as its own standalone repo needs to be checked first.</li><li>The team needs to relearn the workflow once.</li></ul><h3>6.4 What the end result looks like</h3><pre>myorg/<br>├── apps/<br>│   ├── web/                    (frontend, formerly its own repo)<br>│   ├── marketing-site/         (a new second frontend)<br>│   └── backend/                (backend, formerly a submodule)<br>├── packages/<br>│   └── graphql-schema/         (schema and generated types, shared by both frontends)<br>├── deploy/<br>│   ├── docker-compose.yaml     (one file, no path workarounds)<br>│   └── helm/<br>├── pnpm-workspace.yaml<br>└── turbo.json</pre><p>Type generation becomes a cached task that every frontend depends on. The schema is no longer reached through a submodule path, it’s a normal shared dependency with a clear build order and smart caching.</p><h3>7. Two paths: starting as a monorepo vs. converting later</h3><p>The end result is the same either way. The ongoing benefits apply regardless. The only difference is a one-time cost, plus whatever value was already lost by waiting.</p><h3>7.1 Side by side</h3><p>Starting as a monorepo from day one Converting later, well into the project Setup cost Almost nothing, just a folder layout decision About one focused day, plus a week of small fixes History Naturally combined from the start Old history is preserved but moved under new folders. Anything hardcoding old paths breaks Deploy config One simple file from the start Needs unwinding the current path workarounds CI Written once, correctly, from the start Needs to be rewritten in both repos Tags and releases Per-app tags from the very first release Existing tags become unclear, need a new naming scheme Open work Not an issue Every open pull request needs merging or rebasing first Team cost Everyone learns one workflow from the start Everyone relearns the workflow once Risk Low, nothing to break Moderate, deploy and publishing are the trickiest parts Turborepo value Naturally arrives with the second app Same, but the migration cost is paid before that value exists</p><h3>7.2 The honest tradeoff</h3><p>On day one, this choice is nearly free, and a submodule is often the wrong call even at that stage. A submodule gives you all the downsides of being tightly coupled, without any of the upside of actually staying in sync. If CI already needs both repos and local development already needs both repos, then everything expensive about combining them is already true, and the one thing that would actually pay off, staying in sync, is the one thing missing.</p><p>Ranked in general:</p><ol><li>One repo with smart, filtered CI: clean coupling, changes always stay in sync</li><li>Fully separate repos, with one side publishing an artifact (like a schema) as a downloadable file: clean separation</li><li>A submodule: the messy middle ground</li></ol><p>Converting later doesn’t change this ranking, it just changes the price. And that price is worth paying against however much project life is left, not however much has already happened. So it comes down to one question: is there enough feature work left ahead to make a day of migration and a week of cleanup worth it?</p><ul><li>If there’s active feature work happening, a meaningful share of commits touch both sides, and a second frontend is planned, then yes, it’s worth it. Do it during a quiet period, ideally before the second frontend gets started, so that new app is born inside the workspace instead of migrated into it later.</li><li>If the project is basically done and heading into pure maintenance, with no second frontend planned, then no, it’s not worth it. Use the cheaper option below instead.</li></ul><h3>7.3 The cheap alternative, if a full migration isn’t worth it</h3><p>Drop the submodule without actually merging the repos. Have the backend publish its schema file as a downloadable release, and have the frontend fetch it as a small setup step before generating types:</p><pre>&quot;pregenerate:types&quot;: &quot;curl -fsSL $SCHEMA_URL -o schema.graphql&quot;</pre><p>This is a tiny change, maybe ten lines. It removes the pointer-bump problem and the awkward path setup. It doesn’t give you perfect sync — a schema change is still two separate steps — but it makes the separation clean and honest instead of messy, and it can be undone in an afternoon if a full migration ends up happening later.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=091878b68722" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude Code Engineering Skills Guide]]></title>
            <link>https://medium.com/@bhusalamrit41/claude-code-engineering-skills-guide-519d70138fba?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/519d70138fba</guid>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[skills]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 05:09:12 GMT</pubDate>
            <atom:updated>2026-08-06T05:09:12.945Z</atom:updated>
            <content:encoded><![CDATA[<h3>Installation</h3><pre>npx skills add https://github.com/mattpocock/skills \<br>  --skill grill-me \<br>  --skill grill-with-docs \<br>  --skill tdd \<br>  --skill diagnose \<br>  --skill improve-codebase-architecture \<br>  --skill zoom-out \<br>  --skill to-prd \<br>  --skill to-issues \<br>  --skill setup-pre-commit \<br>  --agent claude-code</pre><h3>Purpose</h3><p>This guide documents a set of Claude Code skills designed to improve:</p><ul><li>Software design</li><li>Requirement analysis</li><li>Debugging workflow</li><li>Testing discipline</li><li>Code maintainability</li><li>Architecture decisions</li><li>Development process</li></ul><p>Together, these skills shift Claude Code from acting as a code generator toward acting as an <strong>engineering assistant</strong> — one that helps plan, review, and improve software, not just write it.</p><h3>Skill Workflow Overview</h3><p><strong>Feature development:</strong></p><pre>New Idea → grill-me → grill-with-docs → to-prd → to-issues → tdd<br>    → Implementation → setup-pre-commit → Architecture Review<br>    → improve-codebase-architecture</pre><p><strong>Debugging:</strong></p><pre>Bug → diagnose → Fix → Test</pre><p><strong>Understanding an existing codebase:</strong></p><pre>Unknown Codebase → zoom-out → Architecture Understanding</pre><h3>1. grill-me</h3><p><strong>A requirement and design questioning skill.</strong></p><p>Prevents jumping straight into implementation before the problem is understood.</p><p>Without grill-me With grill-me User request → Write code User request → Ask questions → Understand requirements → Design solution → Write code</p><p><strong>What it challenges:</strong></p><ul><li>Feature requirements</li><li>User expectations</li><li>Edge cases</li><li>Technical decisions</li><li>Possible alternatives</li></ul><p><strong>Example questions it asks:</strong></p><ul><li>Who is the user of this feature?</li><li>What happens if the input is invalid?</li><li>Do we need backward compatibility?</li><li>How will this scale?</li><li>What happens when this fails?</li></ul><p><strong>When to use:</strong> Before creating new features, changing architecture, adding complex logic, or modifying database models.</p><pre>/grill-me add role based access control</pre><p><strong>Benefits:</strong> Prevents unclear implementation, reduces rework, surfaces hidden requirements, improves technical decisions.</p><h3>2. grill-with-docs</h3><p><strong>Combines requirement questioning with documentation.</strong></p><p>Helps preserve project knowledge while designing features by capturing:</p><ul><li>Architecture notes</li><li>Design decisions</li><li>Feature explanations</li><li>Implementation context</li></ul><p><strong>Example:</strong> A decision such as <em>“Why are permissions stored separately from users?”</em> gets documented instead of forgotten.</p><p><strong>When to use:</strong> Large applications, long-running projects, team development.</p><p><strong>Benefits:</strong></p><p>Without documentation With documentation Developer leaves → Knowledge disappears Decision → Documentation → Future developers understand</p><h3>3. tdd (Test-Driven Development)</h3><p>Encourages writing tests <strong>before</strong> implementation.</p><p>Traditional TDD Code → Test later Test → Code → Refactor</p><p><strong>Development cycle:</strong></p><ol><li><strong>Red</strong> — Write a failing test (e.g., <em>“user without permission cannot access page”</em>)</li><li><strong>Green</strong> — Write the minimum code needed to pass</li><li><strong>Refactor</strong> — Improve naming, structure, duplication, and readability</li></ol><p><strong>Good use cases:</strong> Business rules, authentication, validation, calculations, API logic.</p><p><strong>Benefits:</strong> Safer changes, fewer regressions, better code design.</p><h3>4. diagnose</h3><p><strong>A structured debugging workflow</strong> that prevents random, trial-and-error fixes.</p><p>Bad debugging Better debugging Error → Change random code → Try again Error → Understand → Reproduce → Find cause → Fix → Verify</p><p><strong>Process:</strong></p><ol><li><strong>Understand</strong> — What is failing? When does it fail? Who is affected?</li><li><strong>Reproduce</strong> — Create reliable repro steps</li><li><strong>Find root cause</strong> — Check logs, state, data flow, assumptions</li><li><strong>Fix</strong> — Apply the minimal correct change</li><li><strong>Prevent</strong> — Add tests, validation, or monitoring</li></ol><h3>5. improve-codebase-architecture</h3><p><strong>Reviews existing code quality and architecture</strong>, focused on long-term maintainability.</p><p><strong>It looks for:</strong></p><ul><li><strong>Duplicate logic</strong> — e.g., user validation repeated across File A and File B → consolidate into a shared validation service</li><li><strong>Tight coupling</strong> — e.g., Component → Database directly → introduce a Service layer: Component → Service layer → Database</li><li><strong>Poor boundaries</strong> — responsibility separation, module organization, dependency direction</li></ul><p><strong>When to use:</strong> After many feature additions, before scaling, before major refactoring.</p><h3>6. zoom-out</h3><p><strong>Provides a high-level understanding of a codebase</strong> — the system, not just one file.</p><p><strong>Helps explain:</strong></p><ul><li>Architecture</li><li>Modules</li><li>Data flow</li><li>Dependencies</li><li>Key concepts</li></ul><pre>Request → Controller → Service → Database → Response</pre><p><strong>When to use:</strong> Joining a new project, exploring unfamiliar repositories, preparing for refactors.</p><h3>7. to-prd</h3><p><strong>Converts ideas into Product Requirement Documents (PRDs)</strong> that explain what to build, why, and the expected behavior.</p><p><strong>Typical PRD structure:</strong></p><ul><li><strong>Problem</strong> — e.g., “Admins cannot manage user permissions.”</li><li><strong>Goal</strong> — e.g., “Allow admins to assign and remove permissions.”</li><li><strong>Requirements</strong> — e.g., admins can create roles; users can have multiple roles; permissions are checked before actions</li><li><strong>Acceptance criteria</strong> — e.g.:</li><li>Given user has no permissionWhen they access pageThen access should be denied</li></ul><p><strong>Benefits:</strong> Clearer development, better communication, fewer misunderstandings.</p><h3>8. to-issues</h3><p><strong>Converts a PRD into concrete development tasks.</strong></p><p><strong>Example:</strong></p><p>PRD: <em>“Add user permissions”</em> becomes:</p><ol><li>Create permission database model</li><li>Create permission API</li><li>Add frontend management UI</li><li>Add tests</li></ol><p><strong>Benefits:</strong> Easier tracking, smaller tasks, better project management.</p><h3>9. setup-pre-commit</h3><p><strong>Automates quality checks before committing code.</strong></p><p><strong>Typical checks:</strong></p><ul><li><strong>Formatting</strong> — e.g., Prettier</li><li><strong>Linting</strong> — e.g., ESLint</li><li><strong>Type checking</strong> — e.g., TypeScript compiler</li><li><strong>Tests</strong> — e.g., unit tests</li></ul><p><strong>Workflow:</strong></p><pre>Developer writes code → git commit → Pre-commit checks → Pass → Commit allowed</pre><p><strong>Benefits:</strong> Consistent code style, fewer bugs, prevents broken commits.</p><h3>Recommended Usage Patterns</h3><p><strong>Feature development:</strong></p><pre>grill-me → grill-with-docs → to-prd → to-issues → tdd → Implementation</pre><p><strong>Debugging:</strong></p><pre>diagnose → Fix → Test</pre><p><strong>Code review:</strong></p><pre>zoom-out → improve-codebase-architecture → Refactor</pre><h3>Summary Table</h3><p>Skill Purpose grill-me Question requirements before coding grill-with-docs Preserve decisions and context tdd Build reliable code with tests diagnose Debug using root-cause analysis improve-codebase-architecture Improve maintainability zoom-out Understand systems quickly to-prd Convert ideas into requirements to-issues Convert requirements into tasks setup-pre-commit Maintain code quality automatically</p><p>Used together, these skills support a development workflow centered on better planning, cleaner code, fewer bugs, maintainable architecture, and stronger engineering decisions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=519d70138fba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tags, Releases, and Branches: A Practical Guide to Frontend Deployment]]></title>
            <link>https://medium.com/@bhusalamrit41/tags-releases-and-branches-a-practical-guide-to-frontend-deployment-7cbeea0f0e38?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cbeea0f0e38</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 05:06:18 GMT</pubDate>
            <atom:updated>2026-09-17T09:40:20.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-xkn4YuPTDfiSEe8aJMW-A.png" /></figure><p><em>How a disciplined branching and release process turns “what’s actually in production?” from a guessing game into a five-second answer.</em></p><p>Every frontend team eventually hits the same wall: a bug shows up in production, and nobody can say with certainty what code is actually running, what changed since the last known-good version, or how to get back there safely. The fix isn’t more heroics during an incident — it’s a deployment process that makes the answer obvious <em>before</em> anything breaks.</p><p>This is a walkthrough of that process: tags, releases, semantic versioning, and a branching model, along with the reasoning behind each piece. None of this is exotic. It’s standard practice across most mature engineering teams — but understanding <em>why</em> each piece exists is what makes people actually follow it.</p><h3>1. Tags: A Permanent Bookmark in History</h3><p>A <strong>tag</strong> is a label that marks a specific Git commit as a significant, permanent release point.</p><pre>git tag -a v2.4.0 -m &quot;Release 2.4.0&quot;<br>git push origin v2.4.0</pre><p>A few things make tags different from ordinary commits or branches:</p><ul><li><strong>Immutable</strong> — a tag doesn’t move as new commits are added. It always points to the same commit, forever.</li><li><strong>Reproducible</strong> — you can check out v2.4.0 a year from now and get exactly what was deployed at that time, byte for byte.</li><li><strong>A natural CI/CD trigger</strong> — pipelines can be configured to deploy only when a tag is pushed, rather than on every single commit.</li></ul><h3>Why it matters</h3><p>Without tags, “what’s actually running in production” becomes a guess based on branch history that keeps changing underneath you. Tags give every deployment a fixed, permanent reference point — which is essential for debugging production issues, auditing what shipped and when, and rolling back with confidence.</p><p>Tying CI/CD to tags instead of every commit also has a quieter benefit: it prevents unfinished or unreviewed work from accidentally reaching production just because it happened to land on the wrong branch at the wrong time.</p><h3>2. Releases: Turning Code History Into a Story Humans Can Read</h3><p>A <strong>release</strong> sits on top of a tag. Where a tag is a machine-readable pointer, a release is a communication layer — it packages that pointer with human-readable context so anyone (engineering, QA, product, support) can understand what shipped and why, without digging through raw commit history.</p><p>A good release typically answers two questions:</p><ul><li><strong>What changed</strong> — a summary of new features, fixes, and updates.</li><li><strong>Why it changed</strong> — the reasoning or context behind the changes.</li></ul><h3>Where release notes actually come from</h3><p>Commit messages and pull request descriptions written <em>during</em> development get linked to the eventual release. When a release is prepared, these messages are compiled into a changelog by diffing the previous tag against the new one and pulling out everything that changed in between.</p><p>This is why commit hygiene matters more than it seems to in the moment — the changelog is only ever as good as the messages that feed it.</p><h3>Why it matters</h3><p>Releases translate raw code history into information people can actually act on. A clear changelog lets support answer “did this fix already ship?” in seconds, lets QA know exactly what to regression-test, and lets stakeholders track progress without reading diffs.</p><h3>3. Versioning: A Number That Tells You the Risk Before You Read a Word</h3><p>Versions follow the <strong>MAJOR.MINOR.PATCH</strong> format (e.g., v2.4.1):</p><p>Segment Example Meaning <strong>Major</strong> 2 Breaking changes or significant product changes <strong>Minor</strong> 4 New features, backward-compatible <strong>Patch</strong> 1 Bug fixes, hotfixes</p><p><strong>In practice:</strong></p><ul><li>v1.0.0 — a major release or major changes to the product.</li><li>v1.4.0 — a minor, backward-compatible feature addition on top of the previous stable version.</li><li>v1.4.5 — a routine bug fix, hotfix, or minor update.</li></ul><p><strong>Pre-releases</strong> get a suffix to signal they aren’t yet stable:</p><pre>v2.5.0-beta.1</pre><h3>Why it matters</h3><p>A consistent version number tells anyone — instantly, without reading the changelog — how significant a change is and how risky it might be to adopt. That matters for coordinating with dependent teams or services, deciding whether an upgrade needs extra testing, and communicating risk to stakeholders before a deployment goes out.</p><h3>4. Branching Model: Giving Every Piece of Code a Home</h3><p>At a high level, most teams converge on some version of this structure:</p><p>Branch Purpose main / develop Production-ready or staging/integration code feature/* Individual feature development fix/* Bug fixes release/* Pre-release preparation and final checks hotfix/* Emergency fixes for production issues</p><p>A few practices are worth adopting regardless of the exact branch names your team uses:</p><ul><li><strong>No direct commits to the main integration branch.</strong> Every change merges in through a Pull Request. This ensures nothing reaches staging or production without review — catching bugs, security issues, and design inconsistencies before they ship.</li><li><strong>Commit and PR messages are linked to the eventual release</strong> and used to automatically generate the changelog when a new release is created. This is what makes Section 2 possible without manual effort.</li></ul><h3>Why it matters</h3><p>Separating code by purpose keeps unfinished or experimental work isolated from what’s actually stable or live. A bug found mid-feature-development can’t accidentally leak into production, and the team always has a clear, predictable place to look depending on what they need: “what’s live,” “what’s being integrated,” or “what’s actively being built.”</p><p>Requiring PRs for every change also creates a paper trail — every change has an associated discussion, reviewer, and rationale, which is invaluable later when tracing why a particular decision was made.</p><h3>5. Release Preparation Workflow</h3><p>Putting it all together, a release typically moves through four stages:</p><ol><li><strong>Develop</strong> — complete work in feature branches, merge into the integration branch via PR.</li><li><strong>Prepare</strong> — tag the release and generate the changelog.</li><li><strong>Verify</strong> — run through the final release checklist.</li><li><strong>Deploy</strong> — once the checklist passes, ship it.</li></ol><h3>Why it matters</h3><p>Treating release preparation as a distinct, gated phase — rather than deploying straight off the integration branch — creates a deliberate checkpoint where quality, completeness, and readiness are verified before anything goes live. This reduces the chance of shipping half-finished work, catches issues while they’re still cheap to fix, and gives the team confidence that every deployment meets the same bar.</p><h3>Why This Process Matters</h3><p>Taken together, this workflow exists to solve a handful of recurring problems in frontend delivery:</p><ul><li><strong>Traceability</strong> — at any point, you can answer “what is running in production, and exactly what code produced it?”</li><li><strong>Reversibility</strong> — if something breaks, you can identify the last known-good version and roll back to it with certainty.</li><li><strong>Communication</strong> — engineers, QA, support, and product all share a human-readable record of what changed and why, without needing to read raw commit logs.</li><li><strong>Risk management</strong> — version numbers and branch types signal how significant or risky a change is before it’s adopted.</li><li><strong>Quality control</strong> — mandatory PR reviews and a release checklist act as a safety net, catching problems before they reach users.</li></ul><p>Skipping or loosening any part of this — committing directly to the integration branch, deploying without tagging, skipping the release checklist — trades short-term speed for long-term risk: harder debugging, unclear history, and a higher chance of shipping broken code to production.</p><p>The point of all this ceremony isn’t process for its own sake. It’s so that six months from now, when something goes wrong at 2 a.m., someone can answer “what shipped, when, and why” without guessing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cbeea0f0e38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberSource vs Other International Payment Gateways]]></title>
            <link>https://medium.com/@bhusalamrit41/cybersource-vs-other-international-payment-gateways-5193d1eece2f?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/5193d1eece2f</guid>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[e-commerce-business]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[payment-gateway]]></category>
            <category><![CDATA[paypal-vs-stripe]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 07:55:57 GMT</pubDate>
            <atom:updated>2025-02-16T07:56:42.497Z</atom:updated>
            <content:encoded><![CDATA[<p>CyberSource is a well-established international payment gateway owned by Visa, offering advanced fraud prevention, global payment support, and enterprise-level security. Here’s how it compares to other major gateways like Stripe, PayPal, Adyen, and Authorize.Net.</p><p><strong>Pros of CyberSource</strong></p><p>• Strong Fraud Prevention — Uses Visa’s Decision Manager, one of the most advanced fraud detection tools.</p><p>• Global Coverage — Supports 190+ countries and 50+ currencies.</p><p>• Multi-Payment Support — Accepts credit cards, digital wallets (Apple Pay, Google Pay), and alternative payment methods.</p><p>• Enterprise-Level Security — PCI DSS compliant with tokenization and 3D Secure.</p><p>• Customizable API — Provides robust APIs for integrations, similar to Stripe but more complex.</p><p>• Omnichannel Payments — Supports e-commerce, mobile, and in-person payments.</p><p><strong>Cons of CyberSource</strong></p><p>• Complex Setup — More difficult to set up than Stripe or PayPal, requiring developer resources.</p><p>• Pricing Not Transparent — No public pricing, making cost comparison harder.</p><p>• Support Issues — Some users report slow customer support compared to Stripe’s service.</p><p>• Not Ideal for Small Businesses — More focused on enterprise-level businesses, whereas Stripe and PayPal are more startup-friendly.</p><p><strong>Comparison with Other Gateways</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*XPeU2GDcG_RH6NiSjKrJ8Q.png" /></figure><p><strong>Final Verdict</strong></p><p>• Best for Enterprises → CyberSource &amp; Adyen</p><p>• Best for Startups &amp; Developers → Stripe</p><p>• Best for Small Businesses → PayPal &amp; Authorize.Net</p><p>• Best for Global Expansion → Adyen &amp; CyberSource</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5193d1eece2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up a Private Blockchain Network Using Geth]]></title>
            <link>https://medium.com/@bhusalamrit41/private-blockchain-4bd43e967a45?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bd43e967a45</guid>
            <category><![CDATA[ledger]]></category>
            <category><![CDATA[democratized]]></category>
            <category><![CDATA[geth]]></category>
            <category><![CDATA[private-blockchain]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 03:03:03 GMT</pubDate>
            <atom:updated>2025-02-13T03:09:01.403Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Blockchain technology is revolutionizing various industries by providing a decentralized, transparent, and immutable ledger. While public blockchains like Bitcoin and Ethereum are open to anyone, private blockchains offer more control and security for businesses and organizations. In this guide, we will walk through the step-by-step process of setting up a private blockchain network using Geth (Go Ethereum) on a single device.</p><h3>What is a Private Blockchain?</h3><p>A <strong>private blockchain</strong> is a permissioned network where access is restricted to specific participants. Unlike public blockchains, where anyone can join and validate transactions, private blockchains operate under the control of an organization or a group of entities. Some key characteristics include:</p><ul><li><strong>Access Control:</strong> Only authorized participants can read, write, or validate transactions.</li><li><strong>High Performance:</strong> Due to fewer participants, transactions are faster.</li><li><strong>Consensus Mechanisms:</strong> Uses consensus algorithms like Proof of Authority (PoA) instead of Proof of Work (PoW).</li><li><strong>Examples:</strong> Hyperledger Fabric, Corda, and Quorum.</li></ul><p>Now, let’s dive into the process of setting up a private blockchain network using Geth.</p><h3>Step-by-Step Guide to Setting Up a Private Blockchain</h3><h3>Step 1: Install Geth</h3><p>Geth is the official Go implementation of the Ethereum protocol. To install it, visit the <a href="https://geth.ethereum.org/downloads/">official Geth website</a> and download the appropriate version for your operating system.</p><p>After installation, verify the installation by running:</p><pre>geth version</pre><h3>Step 2: Create a Private Blockchain Network Folder</h3><p>Create a directory on your device to store blockchain data and open it in Visual Studio Code (or any text editor/terminal of your choice). Run the following commands in your terminal:</p><pre>mkdir private-blockchain<br>cd private-blockchain<br>mkdir node1 node2</pre><p>Next, create a password.txt file in both node1 and node2 folders. This file will store the passwords for your accounts.</p><h3>Step 3: Create Ethereum Accounts for Nodes</h3><p>Navigate to the node1 folder and create an Ethereum account:</p><pre>cd node1<br>geth --datadir &quot;./data&quot; account new</pre><p>You will be prompted to enter a password. Store this password in password.txt.</p><p>Repeat the same process for node2:</p><pre>cd ../node2<br>geth --datadir &quot;./data&quot; account new</pre><p>Make sure to note down the generated account addresses as they will be required later.</p><h3>Step 4: Generate a Genesis Block</h3><p>The genesis block is the first block of the blockchain. Open a new terminal and run:</p><pre>puppeth</pre><p>This will prompt you to enter a name for your blockchain network (e.g., privateblockchain).</p><p>You will then see a menu with options. Select:</p><ol><li><strong>Configure new genesis</strong></li><li><strong>Create new genesis from scratch</strong></li><li>Choose <strong>Clique (Proof-of-Authority)</strong> as the consensus mechanism (since PoW is unnecessary for a private blockchain).</li><li>Set block time (e.g., <strong>5 seconds</strong>).</li><li>Provide the node address of one of the accounts created earlier.</li><li>Prefund the node addresses with Ether.</li><li>Confirm by typing <strong>yes</strong> to pre-fund the precompile address.</li><li>Set a <strong>network ID</strong> (e.g., 12345).</li></ol><p>Once completed, a privateblockchain.json file will be generated.</p><h3>Step 5: Initialize Nodes with Genesis Block</h3><p>Initialize both nodes with the generated genesis block:</p><p>For node1:</p><pre>cd node1<br>geth --datadir &quot;./data&quot; init ../privateblockchain.json</pre><p>For node2:</p><pre>cd ../node2<br>geth --datadir &quot;./data&quot; init ../privateblockchain.json</pre><p>This initializes the private blockchain for both nodes.</p><h3>Step 6: Set Up a Bootnode</h3><p>A bootnode helps in connecting different nodes within a private blockchain.</p><ol><li>Generate a bootnode key:</li></ol><pre>bootnode -genkey bnode.key</pre><ol><li>Run the bootnode:</li></ol><pre>bootnode -nodekey &quot;./bnode.key&quot; -verbosity 7 -addr &quot;127.0.0.1:30301&quot;</pre><ol><li>Copy the generated enode address, which will be used in the next step.</li></ol><h3>Step 7: Start Blockchain Nodes</h3><p>Now, start the blockchain nodes and connect them to the bootnode.</p><p>For node1:</p><pre>geth --networkid 12345 --datadir &quot;./data&quot; --bootnodes enode://&lt;YOUR_ENODE_KEY&gt;@127.0.0.1:30301 --port 30303 --ipcdisable --syncmode full --rpc --allow-insecure-unlock --rpccorsdomain &quot;*&quot; --rpcport 8545 --unlock &lt;NODE1_ADDRESS&gt; --password password.txt --mine console</pre><p>For node2 (use a different rpcport):</p><pre>geth --networkid 12345 --datadir &quot;./data&quot; --bootnodes enode://&lt;YOUR_ENODE_KEY&gt;@127.0.0.1:30301 --port 30304 --ipcdisable --syncmode full --rpc --allow-insecure-unlock --rpccorsdomain &quot;*&quot; --rpcport 8546 --unlock &lt;NODE2_ADDRESS&gt; --password password.txt --mine console</pre><p>Once both nodes are running, they will start mining and maintaining the blockchain.</p><h3>Conclusion</h3><p>Congratulations! You have successfully set up a private Ethereum blockchain using Geth. This blockchain can be used for secure enterprise applications, testing smart contracts, or learning blockchain development without the complexities of public networks.</p><h3>Next Steps</h3><ul><li>Deploy smart contracts on your private blockchain.</li><li>Connect a front-end application using Web3.js or Ethers.js.</li><li>Expand the network by adding more nodes.</li></ul><p>If you found this guide useful, feel free to share it with others who might be interested in setting up their own blockchain! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bd43e967a45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# Next.js: The Go-To Framework in 2025
 
 As 2025 approaches, the web development landscape is…]]></title>
            <link>https://medium.com/@bhusalamrit41/next-js-the-go-to-framework-in-2025-as-2025-approaches-the-web-development-landscape-is-4545944e933a?source=rss-7d635de89381------2</link>
            <guid isPermaLink="false">https://medium.com/p/4545944e933a</guid>
            <dc:creator><![CDATA[Bhusalamrit]]></dc:creator>
            <pubDate>Sun, 09 Feb 2025 09:51:41 GMT</pubDate>
            <atom:updated>2025-02-09T09:51:41.909Z</atom:updated>
            <content:encoded><![CDATA[<h3>Next.js: The Go-To Framework in 2025</h3><p>As 2025 approaches, the web development landscape is rapidly changing, and Next.js has become a crucial framework for building modern web applications. Its scalability and flexibility have made it a favorite among developers.</p><p><strong>Key Benefits of Next.js in 2025</strong></p><p><strong>Performance:</strong> Next.js excels at optimizing static content, leading to fast page load speeds, which are essential for keeping users happy. Features like automated static page generation and built-in image optimization ensure websites load quickly and efficiently.<br><strong>SEO Support: </strong>Next.js is excellent for search engine optimization, thanks to its server-side rendering (SSR) and static site generation (SSG). These features help search engines crawl and index content effectively, boosting a site’s ranking and driving organic traffic.<br><strong>Scalability:</strong> Whether you’re working on a small project or a large enterprise application, Next.js can handle it. Its Incremental Static Regeneration (ISR) feature updates static content without needing to rebuild the entire site, maintaining high performance for dynamic applications.<br><strong>Developer Experience:</strong> Next.js offers a smooth developer experience with features like hot reloading, minimal configuration, and seamless integration with tools like TypeScript. Its hybrid rendering capabilities allow developers to use static, server-side, or client-side rendering, optimizing solutions for both speed and rich content.<br><strong>Flexibility and Integration:</strong> Next.js works well with modern development tools, including Jamstack architecture and headless CMS solutions like Contentful, Sanity, and Strapi. This integration separates the backend and frontend, giving developers more control over their architecture and the ability to optimize independently.</p><p><strong>The Next.js Ecosystem: Integration with Modern Tools</strong></p><p>Next.js is a great fit for Jamstack architecture and integrates seamlessly with headless CMS solutions like Contentful, Sanity, and Strapi. These CMS platforms separate the content repository from the presentation layer, enabling highly dynamic, performant, and scalable websites.</p><p><strong>User Experience (UX) and Search Engine Optimization (SEO)</strong></p><p>Next.js improves both user experience and SEO. By supporting SSG and SSR, it reduces page load times, which is critical for user retention and search engine rankings. Built-in features like image optimization and lazy loading enhance performance across different devices, improving UX and reducing bounce rates. Additionally, pre-rendered content from SSR boosts visibility on search engines, attracting more organic traffic.</p><p><strong>Business Advantages of Next.js</strong></p><p><strong>Scalability and Security:</strong> Next.js can manage complex, high-traffic websites and applications, making it ideal for businesses that need scalable and customizable solutions. It also addresses important security issues like authentication and data validation, ensuring user trust and data integrity.<br><strong>Performance Optimization:</strong> Features like lazy loading, image optimization, automatic code splitting, and route prefetching ensure fast load times and a better user experience.<br><strong>Faster Time to Market: </strong>With pre-built components, Next.js speeds up development, making it perfect for quickly building MVPs, reducing time and costs.<br><strong>Improved User Experience and Increased Traffic:</strong> Next.js enables businesses to create customized, fast, and lightweight static sites, which enhance search rankings and drive organic traffic. Faster load times and better UX lead to higher conversion rates.<br><strong>Omnichannel Presence: </strong>Next.js ensures your site is accessible on all devices, expanding your customer reach.<br>Cost Efficiency: Hosting on Vercel optimizes performance and lowers costs, thanks to the tight integration between Next.js and the hosting environment.<br><strong>AI Integration:</strong> Next.js lets developers incorporate advanced AI technologies into their applications using the Vercel AI SDK.<br><strong>Unified Full-Stack Development:</strong> Next.js offers full-stack capabilities, streamlining development by allowing you to build entire applications with a single framework.<br><strong>Rich Ecosystem:</strong> Supported by Vercel and Meta, Next.js has a large, active community that provides developers with resources, plugins, and a wide pool of talent.</p><p>Overall, Next.js is a powerful framework for modern web development, focusing on performance, scalability, SEO, and developer experience. Whether you’re building a small website or a large-scale platform, Next.js gives you the flexibility to optimize content, handle complex data, and deliver a smooth user experience on any device. Its compatibility with headless CMS and Web Assembly (WASM) keeps it at the forefront of web development, offering developers the tools they need to create fast, scalable, and future-proof applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4545944e933a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>