<?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 Ndehtitacho on Medium]]></title>
        <description><![CDATA[Stories by Ndehtitacho on Medium]]></description>
        <link>https://medium.com/@ndehtitacho720?source=rss-60acea647011------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uPRc05OU1NNWit1L</url>
            <title>Stories by Ndehtitacho on Medium</title>
            <link>https://medium.com/@ndehtitacho720?source=rss-60acea647011------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 03:07:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ndehtitacho720/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[Understanding JavaScript Bundlers: From Problem to Solution]]></title>
            <link>https://medium.com/@ndehtitacho720/understanding-javascript-bundlers-from-problem-to-solution-db355d382549?source=rss-60acea647011------2</link>
            <guid isPermaLink="false">https://medium.com/p/db355d382549</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[bundling]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ndehtitacho]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 13:31:12 GMT</pubDate>
            <atom:updated>2025-10-12T13:31:12.094Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VDaFke5PhQqzd59V3xjRfw.png" /></figure><h3>What Is a JavaScript Bundler?</h3><p>A <strong>JavaScript (JS) Bundler</strong> is a development tool that takes all your JavaScript code files, dependencies, and assets, then combines them into one or more optimized files called <strong>bundles</strong>.<br> These bundles streamline the delivery of code to browsers, significantly improving <strong>load times</strong> and <strong>overall performance</strong>.</p><p>In modern web development, especially in large-scale applications that rely on numerous external resources and libraries , bundlers play a crucial role in managing complexity, optimizing performance, and ensuring that only the necessary code is shipped to the client.</p><h3>The Problem: Why JavaScript Bundlers Were Needed</h3><p>Before bundlers became standard, web applications often included multiple JavaScript and CSS files linked directly in the HTML.<br> Each file required a separate HTTP request, and since browsers have limits on how many requests they can handle simultaneously, this led to <strong>slow load times</strong>.</p><p>Additionally, as applications grew, developers began importing several libraries and writing many small JS files. Without optimization, all of these files were shipped to the browser, even if only a fraction of the code was actually used.<br> This resulted in:</p><ul><li>Large, bloated bundles of unused JavaScript,</li><li>Slow initial page loads, and</li><li>Inefficient rebuild times during development.</li></ul><p>Let’s illustrate this with a simple HTML, CSS, and JavaScript setup.</p><h3>Example: A Simple Web App Without a Bundler</h3><p>Below is a basic HTML file that links to separate CSS and JS files:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cA7EVUx0GG5ZpQ_78p57gw.png" /></figure><p>Now, suppose we have two JavaScript files: save.js and cancel.js, each containing different functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZjqNCKIVO7ZjrUWTvW3y0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sTeEx8FGKEQ7UnFbBWd1wA.png" /></figure><p>Both files include random functions (Random01 and Random02) that are not necessarily used by our app. We then import both files into index.js to make our buttons interactive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFhkaTz7GZvbrjEhvqmdkg.png" /></figure><p>When you click the <strong>Save</strong> or <strong>Cancel</strong> button, you’ll notice in the browser’s <strong>Network → Response</strong> tab that <strong>both</strong> scripts are loaded, including the unused functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CdgbL11WaQgvfEs4QYAM9g.png" /></figure><p>This proves that, by default, the browser downloads all JavaScript, regardless of whether it’s actually needed.<br> Now imagine scaling this up to a large web application, hundreds of unnecessary files could be sent to the client, dramatically slowing down load times.</p><p>That’s where JavaScript bundlers come in.</p><h3>The Solution: The Role of JavaScript Bundlers</h3><p>JavaScript bundlers solve this inefficiency by analyzing, optimizing, and packaging all your files into a <strong>smaller, smarter bundle</strong> that only includes what’s truly necessary.</p><p>Let’s look at how this works.</p><h3>Step 1: Dependency Mapping</h3><p>The bundler starts by identifying the <strong>entry point</strong> of your application (e.g., index.js in a React or Vue project).<br> It then traverses through all the import or require statements to create a <strong>dependency graph, </strong>a detailed map showing how all your files, libraries, and modules depend on one another.</p><p>This graph allows the bundler to understand the complete structure of your project and determine the correct order in which files should be combined.</p><h3>Step 2: Performance Optimization</h3><p>Performance optimization happens in two key stages: <strong>Code Optimization</strong> and <strong>Code Transformation</strong>.</p><h4>1. Code Optimization</h4><p>Here, the bundler:</p><ul><li><strong>Minifies(Minification)</strong> the code , removing unnecessary characters like whitespace, comments, and formatting.</li><li>Applies <strong>Tree-Shaking, </strong>a process that removes unused code, ensuring only the required parts of libraries and modules make it into the final bundle.</li></ul><h4>2. Code Transformation (Transpilation)</h4><p>Modern JavaScript (ES6+) introduces features that may not be supported by all browsers.<br> During transpilation, the bundler <strong>transforms modern JS syntax into older, browser-compatible versions</strong>, ensuring that your code runs smoothly across different environments.</p><h3>Step 3: Bundling</h3><p>Finally, the bundler uses the dependency graph to combine all the necessary code and assets into one or more output files, known as <strong>bundles</strong>.<br> During this process, it applies all the optimizations you’ve configured, producing efficient, production-ready code.</p><h3>Popular JavaScript Bundlers</h3><p>Some of the most popular bundlers and build tools today include:</p><ul><li><strong>Webpack: </strong>known for its powerful configuration options.</li><li><strong>Rollup</strong>: optimized for libraries and tree-shaking.</li><li><strong>Parcel: </strong>zero-configuration bundler, ideal for quick setups.</li><li><strong>Snowpack: </strong>focuses on faster builds using ES modules.</li><li><strong>esbuild</strong>: extremely fast, written in Go.</li><li><strong>Vite: </strong>modern bundler powered by esbuild and optimized for lightning-fast development.</li></ul><p>Together, these tools form the <strong>“United States of JS Bundlers”, </strong>each designed to make modern web development faster, more modular, and more efficient.</p><h3>Conclusion</h3><p>JavaScript bundlers revolutionized how developers build and deploy modern web applications.<br> They reduce load times, optimize performance, and ensure compatibility across browsers, making it possible to build large, scalable, and maintainable projects without sacrificing speed or efficiency.</p><p>Whether you’re working on a simple app or a complex enterprise solution, understanding how bundlers work will help you write <strong>cleaner, faster, and more efficient</strong> JavaScript.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db355d382549" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Contracts]]></title>
            <link>https://medium.com/@ndehtitacho720/smart-contracts-fb21db1297f5?source=rss-60acea647011------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb21db1297f5</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Ndehtitacho]]></dc:creator>
            <pubDate>Mon, 07 Apr 2025 08:56:12 GMT</pubDate>
            <atom:updated>2025-04-07T08:56:12.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7afD5D-lql7Jpd0MsQB3rA.png" /></figure><p>In the web3 and blockchain space, we often encounter the term “Smart Contracts.” But what exactly are they?</p><p>To put it simply, think of smart contracts as digital agreements that function similarly to traditional contracts. They operate on a set of conditions: if a condition is met, a specific action is taken; if not, an alternative action is executed. Digitalizing these contracts leads to what we call smart contracts, which are self-executing programs or pieces of code stored on the blockchain. These contracts automatically execute when certain pre-defined conditions are fulfilled. For developers, it’s easiest to visualize smart contracts as the backend code for a web3 decentralized application (DApp).</p><p><strong>Why Smart Contracts?</strong></p><p>To truly grasp the need for smart contracts, let’s examine how traditional contracts are executed. In a typical agreement between a business partner or a client, a contract is signed stating that when specific conditions are met, a certain amount of money will be transferred from one account to another, along with a transparent balance update. However, as humans, we are prone to errors — miscalculations, distractions, and even fraudulent actions can occur during these transactions. Smart contracts help mitigate these risks. As long as the developer writes the code accurately, the contract will execute reliably and on time, with all transactions being transparent and traceable, since all information is recorded on an immutable ledger — the blockchain.</p><p>Some notable use cases for smart contracts include Decentralized Finance (DeFi) and Voting Systems, where transparency is crucial. The most widely used programming language for smart contracts is Solidity, which offers numerous features and benefits, supported by a large community.</p><p>The blockchain technology introduces many revolutionary advantages and use cases that we have only begun to explore.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb21db1297f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is & Why Web 3.0]]></title>
            <link>https://medium.com/@ndehtitacho720/what-is-why-web-3-0-4c82acd5978c?source=rss-60acea647011------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c82acd5978c</guid>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[ownership]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Ndehtitacho]]></dc:creator>
            <pubDate>Thu, 27 Mar 2025 08:49:10 GMT</pubDate>
            <atom:updated>2025-03-27T08:49:10.215Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xmbnS4qoW_y6fgIht8E-ng.jpeg" /></figure><p>Recently, there has been a lot of discussion about Web3 or Web 3.0, but I can’t fully explain what Web3 is without first touching on Web2 and its limitations, which led to the development of Web3.</p><p>In the structure of Web2, any communication on the Internet had to pass through one of the major tech companies, such as Google, Meta, Amazon, Instagram, or LinkedIn. Consider this for a moment: whether you communicated through WhatsApp, Instagram, or Facebook, your data went through Meta. Similarly, whenever you used Google — be it for a search, an email, or one of their AI-powered products — your data was processed by them. While this arrangement isn’t entirely bad, we often face a contradiction. Before signing up for these platforms, we are promised that our privacy and data belong solely to us, leaving us with the choice of whether to disclose information. Yet, companies frequently sell our data to third parties seeking insights into user behavior and personal information, often violating our expectations of privacy and consent.</p><p>These shortcomings are some of the reasons why Web3 was created. It offers solutions to various issues, particularly those regarding centralization. <em>Web3 envisions a decentralized, user-centric internet built on technologies like blockchain, aiming to empower users with greater control over their data, identity, and online interactions</em> — shifting away from the dominance of centralized platforms found in Web2.</p><p>To fully understand and appreciate what Web3 offers, it is essential to grasp several key concepts:</p><p>1. <strong>Decentralization:</strong> Web3 seeks to move away from the current internet model, where a few large companies control all user data, identity, and user experiences, toward a more distributed system. This change aims to give users more control over their information.</p><p>2. <strong>Blockchain Technology: </strong>Blockchain, the technology underlying cryptocurrencies like Bitcoin and Ethereum, is a crucial component of Web3. It enables secure and transparent peer-to-peer transactions and data storage. With blockchain, all data and transactions are immutable, fostering transparency, traceability, and trust.</p><p>3. <strong>User Ownership and Control:</strong> Web3 aims to restore control to users over their identity, data, and digital assets, allowing them to interact directly with one another on the internet without intermediaries.</p><p>4. <strong>Decentralized Applications (DApps):</strong> Interaction with Web3 and blockchain technology is possible through DApps, which enhance various sectors such as decentralized finance (DeFi) and social media interactions, as well as ownership of digital assets like non-fungible tokens (NFTs) related to land and art. DApps are made possible through <strong>Smart contracts </strong>and <strong>Web3 wallets</strong>.</p><p>By understanding these terms, we can better appreciate the transformative potential of Web3.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c82acd5978c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About me — Ndeh Titacho]]></title>
            <link>https://medium.com/@ndehtitacho720/about-me-ndeh-titacho-5cf2081c6361?source=rss-60acea647011------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cf2081c6361</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Ndehtitacho]]></dc:creator>
            <pubDate>Mon, 24 Mar 2025 16:38:08 GMT</pubDate>
            <atom:updated>2025-03-24T16:38:08.270Z</atom:updated>
            <content:encoded><![CDATA[<h3>About me — Ndeh Titacho</h3><p>A self-introduction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TX60uBeBfnq-ZwD5sTWUWQ.jpeg" /></figure><p>Hi, I am Ndeh Titacho, a Software Engineer from Bamenda, Cameroon. I graduated in Computer Engineering from the College of Technology at the University of Bamenda. I really love writing stories about tech, Web3, Blockchain, AWS, frontend development, and smart contract development, so you will see most of my posts about such topics.</p><p>I equally discuss topics related to personal development, faith-based content, and my personal view on a variety of topics I find intriguing.</p><p><strong>Fun Facts About Me</strong></p><ul><li>I lived and studied for seven years 2015 to 2022 in an all-boys college until I got my Advanced level.</li><li>I have never been a born reader but I developed the habit after reading two of my favorite books, Atomic Habits by James Clair and Rich Dad Poor Dad by Robert Kiyosaki.</li><li>I am a runner and I consider running as 80% Mental Exercise and just 20% Physical Exercise.</li><li>I am a very big digital nomad and that means I explore different technologies I find interesting and can possibly help me, the reason for my diverse tech stack.</li><li>My favorite shows so far are Stranger Things, Silicon Valley, and The 100th. ( I gravitate more towards Sci-Fi movies).</li><li>I love having meaningful, heart-to-heart conversations with my friends and contributing to their lives and success in any way I can. I enjoy being present and mindful.</li><li>By nature and choice, I am an Ambivert, Leaning towards the the introverted side and I share my tech journey and challenges on <a href="https://x.com/ndeh_titacho">X</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cf2081c6361" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>