<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Himanshu Rank</title>
    <description>The latest articles on DEV Community by Himanshu Rank (@himanshurank).</description>
    <link>https://dev.to/himanshurank</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1272153%2F90ba8a7c-764e-482b-b2fa-d0070afbd7ed.jpg</url>
      <title>DEV Community: Himanshu Rank</title>
      <link>https://dev.to/himanshurank</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/himanshurank"/>
    <language>en</language>
    <item>
      <title>Building My Portfolio: Showcasing My Work as a Frontend Developer</title>
      <dc:creator>Himanshu Rank</dc:creator>
      <pubDate>Thu, 27 Feb 2025 08:12:29 +0000</pubDate>
      <link>https://dev.to/himanshurank/building-my-portfolio-showcasing-my-work-as-a-frontend-developer-mj2</link>
      <guid>https://dev.to/himanshurank/building-my-portfolio-showcasing-my-work-as-a-frontend-developer-mj2</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3yh8l7m4r907kor2f1zh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3yh8l7m4r907kor2f1zh.png" alt="Image description" width="800" height="354"&gt;&lt;/a&gt;Hey everyone! 👋&lt;/p&gt;

&lt;p&gt;I recently completed my portfolio website to showcase my work as a frontend developer specializing in React, Next.js, and software architecture. You can check it out here: &lt;a href="https://himanshurank.netlify.app/" rel="noopener noreferrer"&gt;Visit Portfolio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 Why I Built This Portfolio&lt;br&gt;
As a developer, having an online presence is crucial. I wanted a place where I could:&lt;br&gt;
✅ Showcase my projects and technical skills&lt;br&gt;
✅ Share my experience in frontend development, architecture, and clean code&lt;br&gt;
✅ Provide a quick way for recruiters and clients to view my work&lt;/p&gt;

&lt;p&gt;🔹 Tech Stack&lt;br&gt;
I built the portfolio using:&lt;br&gt;
🔹 Next.js for performance and SEO&lt;br&gt;
🔹 Tailwind CSS for rapid styling&lt;br&gt;
🔹 Framer Motion for smooth animations&lt;br&gt;
🔹 Netlify for easy deployment&lt;/p&gt;

&lt;p&gt;🔹 Projects Feature&lt;/p&gt;

&lt;p&gt;🔹 Lessons Learned&lt;br&gt;
While building this, I focused on:&lt;br&gt;
📌 Optimizing performance (lazy loading, image optimization)&lt;br&gt;
📌 Better folder structure for scalability&lt;br&gt;
📌 Improving UI/UX with micro-interactions&lt;/p&gt;

&lt;p&gt;💡 What’s Next?&lt;br&gt;
I’m planning to write more about frontend best practices, clean code, and architecture patterns. Stay tuned! 🚀&lt;/p&gt;

&lt;p&gt;Would love your feedback! Let me know what you think or if you have any suggestions. 😊&lt;/p&gt;

&lt;h1&gt;
  
  
  webdevelopment #react #nextjs #framermotion #portfolio #frontend #javascript #tailwindcss
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>If your Redux state has changed but React doesn't trigger a re-render, it could be due to several reasons</title>
      <dc:creator>Himanshu Rank</dc:creator>
      <pubDate>Tue, 20 Feb 2024 11:21:59 +0000</pubDate>
      <link>https://dev.to/himanshurank/if-your-redux-state-has-changed-but-react-doesnt-trigger-a-re-render-it-could-be-due-to-several-reasons-2pfb</link>
      <guid>https://dev.to/himanshurank/if-your-redux-state-has-changed-but-react-doesnt-trigger-a-re-render-it-could-be-due-to-several-reasons-2pfb</guid>
      <description>&lt;p&gt;Immutable Data: Redux encourages the use of immutable data structures. If you're mutating the state directly instead of creating a new state object or using immutable update patterns (like spread syntax or immutability libraries such as Immutable.js), React might not detect the change because it relies on shallow equality checks to determine if props or state have changed.&lt;/p&gt;

&lt;p&gt;Component Should Update: If you're using class components, ensure that shouldComponentUpdate or React.PureComponent is implemented correctly. These methods perform shallow comparisons of props and state to determine if a component should re-render. If your props or state haven't changed in a way that triggers a re-render, React won't update the component.&lt;/p&gt;

&lt;p&gt;React.memo or useMemo: If you're using functional components, ensure that you're properly memoizing components or values using React.memo or useMemo hook. These optimizations prevent unnecessary re-renders by comparing previous and current props or values. If the props haven't changed, the component won't re-render.&lt;/p&gt;

&lt;p&gt;Subscription to Redux Store: Make sure your components are properly subscribed to the Redux store. Components connected to Redux via connect or useSelector will only re-render when the relevant slice of state they're subscribed to changes. If the subscription is incorrect or missing, the component won't update.&lt;/p&gt;

&lt;p&gt;Middleware or Side Effects: If you're performing asynchronous actions or side effects in Redux (e.g., with middleware like Redux Thunk or Redux Saga), ensure that they're updating the Redux state correctly and triggering re-renders when necessary. Improper handling of side effects might lead to state changes that React doesn't detect.&lt;/p&gt;

&lt;p&gt;React-Redux Connect Configuration: When using connect from React-Redux, make sure you have correctly configured the mapStateToProps function to extract the relevant parts of the state that your component depends on. If the connected component isn't subscribed to the relevant state changes, it won't re-render.&lt;/p&gt;

&lt;p&gt;By carefully inspecting these potential issues and ensuring that your Redux state updates are properly reflected in your React components, you should be able to diagnose why React isn't triggering a re-render when the Redux state changes.&lt;/p&gt;

</description>
      <category>redux</category>
      <category>react</category>
      <category>javascript</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
