<?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 Alamshams on Medium]]></title>
        <description><![CDATA[Stories by Alamshams on Medium]]></description>
        <link>https://medium.com/@alamshams8273?source=rss-13e2b147da3d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Jn6lYr7vSR8_fqwv</url>
            <title>Stories by Alamshams on Medium</title>
            <link>https://medium.com/@alamshams8273?source=rss-13e2b147da3d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:55:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alamshams8273/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[Why Every Beginner Should Start with Small Projects Before Big Ones]]></title>
            <link>https://medium.com/@alamshams8273/why-every-beginner-should-start-with-small-projects-before-big-ones-788148d748f4?source=rss-13e2b147da3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/788148d748f4</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[react-js-tutorials]]></category>
            <dc:creator><![CDATA[Alamshams]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 05:26:37 GMT</pubDate>
            <atom:updated>2025-08-31T05:26:37.343Z</atom:updated>
            <content:encoded><![CDATA[<p>When we first start web development we all dream big flipkart, netflix, instagram. sounds cool, right? but let’s be real: even building a basic <strong>MVP</strong> needs a certain base of knowledge. beginners usually don’t have that yet. we watch a tutorial, get an adrenaline rush, start building, and the moment a <strong>conceptual</strong> problem shows up (which needs prior understanding), we get stuck and many people even leave the idea of web dev. sad but true.</p><p>In this article, we’ll see <strong>how to learn new concepts without that pain</strong>. we’ll take <strong>react.js</strong> as our test subject, but the same approach works for any tech.The real problem with starting big</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idqd2Wd_VmJ-cZMXXT7btQ.png" /></figure><h3>The real problem with starting big</h3><ul><li>Big projects hide too many moving parts.</li><li>You don’t know <strong>what is breaking</strong> and <strong>why</strong>.</li><li>You jump from file to file, google to youtube, and your brain just melts.</li><li>Result: half-finished repo + zero confidence.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bPjoXBqFAIpWLrK84Q43QA.png" /></figure><h3>The power of small projects</h3><ul><li>Small projects look simple, but they teach the <strong>fundamentals</strong> in a clean way. no 100 files. no complex architecture. just you and one concept.</li><li><strong>Goal:</strong> learn the 60–80% of things you’ll use daily, which might be only 15 to 20% of the entire library.</li></ul><p><strong>Rule #1</strong> :- <em>start with the smallest possible thing</em></p><ul><li>Take <strong>react</strong>. open VS Code with one intention: learn <strong>one</strong> concept.</li><li><strong>example:- counter app</strong></li><li>What you learn:- <strong>JSX</strong>, <strong>state</strong>, <strong>onClick</strong> inside the component.</li><li>Time target: <strong>~10 minutes</strong>.</li><li>Revision:- <strong>minimum 3 revisions </strong>(with small gaps in between).</li><li>After round 3, you’ll feel it click.</li></ul><p>Don’t decorate. no fancy css. no router. just the concept.</p><p><strong>Rule #2</strong> :- <em>one project = one new concept</em></p><p>Don’t mix five new ideas in one go. go step by step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o0iHtMVBr7ur7jU7pbuRkg.png" /></figure><p><strong>A simple ladder for react (do these in order):</strong></p><ol><li><strong>Counter app</strong> → JSX + useState + events</li><li><strong>Controlled input</strong> :-value + onChange (understand state flow)</li><li><strong>Toggle</strong> :-(dark mode / show–hide text) → conditional rendering</li><li><strong>List rendering</strong> :-map() a small array</li><li><strong>Props basics</strong> :-build a Card component and pass title, desc</li><li><strong>UseEffect (intro)</strong> :-fetch a public API once, show loading/error</li><li><strong>Todo list </strong>:-add/delete in state (no backend)</li><li><strong>Todo + localStorage</strong> :- persistence without server</li><li><strong>API pagination (mini)</strong> :- fetch page-wise data, next/prev buttons</li></ol><p>Each step is a micro-win. your confidence goes up while confusion goes down.</p><p><strong>Rule #3</strong> :- <em>repeat till it feels boring (that’s good)</em></p><p>Repetition is not stupidity, it’s <strong>muscle memory</strong>. do the same small app <strong>3–4 times</strong> over a day. take short breaks between attempts. you’ll stop looking at old code and start writing from memory. that’s when it becomes <strong>yours</strong>.</p><p><strong>Rule #4:- </strong><em>Write tiny notes (not essays)</em>after each micro-project, write <strong>5 lines</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROqMvZ4Ny59K609wM30gZg.png" /></figure><ul><li>What i built</li><li>What concept i touched</li><li>The one error that slowed me</li><li>The fix in one sentence</li><li>Next small thing i’ll try</li></ul><p>These notes are gold when you feel stuck later.</p><h3>Common beginner traps (avoid these early)</h3><ul><li><strong>Clones too soon</strong>: instagram/flipkart clones look cool but bring 20 problems at once.</li><li><strong>Too many libraries</strong>: router, redux, tailwind, axios, framer… slow down. add later.</li><li><strong>Tutorial autopilot</strong>: if you can’t rebuild the thing without pausing the video, you haven’t learned it yet.</li><li><strong>Ignoring errors</strong>: read the red text. 80% of the time it literally tells you the fix.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_tsup2a1FYiOPuQTvlwXVg.png" /></figure><h3>A simple study pattern you can copy</h3><ol><li>Pick <strong>one</strong> concept (e.g., controlled input).</li><li>Set a <strong>20–30 min timer</strong>.</li><li>Build the tiniest demo possible.</li><li><strong>Rebuild it 2 more times</strong> from scratch.</li><li>Write 5-line notes.</li><li>Push to github (concept-name-01, concept-name-02).</li></ol><p>Do this daily for a week and see the difference.</p><h3>How this helps in real projects</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DC0MDcyn-H3BSVbMcXLFiA.png" /></figure><p>After these micro-wins, when you try a bigger app (blog, dashboard, store), you won’t panic because you’ve already <strong>seen the pieces</strong>: state, props, lists, effects, small fetch calls, basic pagination. a big project is just a <strong>bundle of small projects glued together</strong>.</p><h3>Quick starting checklist (react)</h3><ul><li>Counter</li><li>Controlled input</li><li>Toggle (conditional render)</li><li>List with map() + keys</li><li>Props to reusable Card</li><li>useEffect with fetch once</li><li>Todo list (state only)</li><li>LocalStorage persistence</li><li>Mini pagination (api)</li></ul><p>Finish this checklist and you’ll be miles ahead of most beginners who only watched tutorials.</p><h3>Final word</h3><p>Start small. <strong>really small.</strong> your brain learns better with focused wins than with messy ambition. once the basics are in your bones, the bigger builds won’t feel scary. they’ll feel natural.</p><p>If you open VS Code today, pick <strong>one</strong> concept and make a 10-minute mini. do <strong>three revisions</strong>. come back tomorrow and do the next one. that’s it. this is how you actually grow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k00J6ZCotjMPTZdp0mej-g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=788148d748f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 5 Mistakes I Made While Learning React (and How I Fixed Them)]]></title>
            <link>https://medium.com/@alamshams8273/top-5-mistakes-i-made-while-learning-react-and-how-i-fixed-them-21ec232d8048?source=rss-13e2b147da3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/21ec232d8048</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Alamshams]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 07:23:23 GMT</pubDate>
            <atom:updated>2025-08-19T07:23:23.590Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k1DmPpMawZFn3p5eqjD46g.png" /></figure><p>As a frontend developer, the journey usually starts with <strong>HTML, CSS, and JavaScript</strong>.</p><ul><li>With <strong>HTML</strong>, we learn different tags, elements, and how the DOM works.</li><li>With <strong>CSS</strong>, we focus on styling and responsiveness.</li><li>With <strong>JavaScript</strong>, we get to understand logic, events, and interactivity — challenging at first but still beginner-friendly.</li></ul><p>But after getting comfortable with these, the real turning point comes with <strong>React.js</strong>.</p><blockquote><strong>What is React?</strong></blockquote><p>React is a <strong>JavaScript library</strong> created by Facebook for building <strong>user interfaces</strong>. Instead of writing long lines of code to update the DOM manually, React allows us to build <strong>components</strong> that handle their own state and render efficiently.</p><ul><li><strong>Why is React used?</strong> → It helps developers build fast, scalable, and reusable UI.</li><li><strong>Real-life purpose</strong> → Platforms like Instagram, Facebook, and Netflix use React to create smooth, dynamic experiences.</li></ul><p>When I started React, it felt <strong>hard to grasp</strong> because the syntax looked different from plain JavaScript. Although React is still JavaScript under the hood, concepts like <strong>JSX, props, maps, and hooks</strong> made it overwhelming.</p><p>So, here are the <strong>5 biggest mistakes I made as a beginner in React</strong> — and how I fixed them. Hopefully, this saves you from going through the same struggles.</p><blockquote>1. Misunderstanding Props</blockquote><p><strong>The mistake:</strong><br> Props confused me a lot in the beginning. I didn’t understand why data was passed from parent to child and why I couldn’t directly use variables inside a component. Sometimes I even tried changing props inside a child component, which is a big mistake.</p><p><strong>How I fixed it:</strong><br> I learned that props are <strong>read-only</strong>. Their purpose is to <strong>pass data from parent to child</strong>. Once I started thinking of React components like <strong>functions with parameters</strong>, it clicked.<br> Example:</p><pre>function Greeting({ name }) {<br>  return &lt;h1&gt;Hello, {name}!&lt;/h1&gt;;<br>}</pre><p>Here, name is like a function argument. Once I started comparing props to arguments, it made sense.</p><blockquote>2. Getting Lost in Hooks</blockquote><p><strong>The mistake:</strong><br> Hooks like useState, useEffect, and useContext looked scary. I often misused them, like calling hooks inside loops or not understanding dependency arrays in useEffect.</p><p><strong>How I fixed it:</strong><br> I slowed down and practiced <strong>one hook at a time</strong>. First useState → then useEffect → then others.<br> I also learned the <strong>Rules of Hooks</strong>:</p><ul><li>Only call hooks at the top level (not inside loops or conditions).</li><li>Only call hooks inside React functions.</li></ul><p>Once I built small projects (like a counter app with useState or a fetch API example with useEffect), I became comfortable.</p><blockquote>3. Ignoring Component Reusability</blockquote><p><strong>The mistake:</strong><br> At first, I wrote large files where one component handled everything — HTML, CSS, and logic. My projects became messy and hard to maintain.</p><p><strong>How I fixed it:</strong><br> I started breaking my UI into <strong>small reusable components</strong>.<br> For example: Instead of one “Dashboard.js” handling everything, I created Sidebar.js, Navbar.js, and Card.js.<br> This not only made my code cleaner but also reusable in other projects.</p><blockquote><strong>4. Stopping Whenever Syntax Felt Unfamiliar</strong></blockquote><p><strong>The mistake:</strong><br> When I first saw JSX (HTML mixed with JavaScript), I got stuck. Every time I faced an error, I would stop and think <em>“This is too different from JavaScript”</em>.</p><p><strong>How I fixed it:</strong><br> I tackled this by <strong>repetition</strong>. I wrote the same code 3–4 times in practice sessions. For example, creating a simple component with props again and again until it became second nature.<br> At first, it feels impossible, but after a few repetitions, you suddenly <em>get it</em>.</p><blockquote><strong>5. Not Using Developer Tools &amp; Debugging Properly</strong></blockquote><p><strong>The mistake:</strong><br> Whenever I saw errors like <em>“props is undefined”</em> or <em>“Cannot read property of null”</em>, I would panic and start rewriting code. I avoided debugging.</p><p><strong>How I fixed it:</strong><br> I learned to use <strong>React Developer Tools</strong> (Chrome extension) to inspect props and component hierarchy.<br> I also got used to reading error messages carefully instead of ignoring them. Debugging itself became a learning process.</p><h3>Conclusion</h3><p>React is powerful but challenging when you’re just starting out. These mistakes — syntax struggles, props confusion, hook misuse, ignoring reusability, and avoiding debugging — are common for beginners.</p><p>The good news? With practice, repetition, and building small projects, you’ll not only fix these mistakes but also gain confidence.</p><p>If you’re starting with React, don’t stop when things look hard. Keep coding, repeat concepts, and soon everything will click!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21ec232d8048" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>