<?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>Forem: Vivek Sharma</title>
    <description>The latest articles on Forem by Vivek Sharma (@vivek_sharma_1b25fe6df3b4).</description>
    <link>https://forem.com/vivek_sharma_1b25fe6df3b4</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%2F2034427%2F004c8634-f308-486e-9a94-3dcd6e24e3e4.jpg</url>
      <title>Forem: Vivek Sharma</title>
      <link>https://forem.com/vivek_sharma_1b25fe6df3b4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/vivek_sharma_1b25fe6df3b4"/>
    <language>en</language>
    <item>
      <title>How to Fix "Styles and JS Not Loading on Page Reload" in React When Using useParams()</title>
      <dc:creator>Vivek Sharma</dc:creator>
      <pubDate>Fri, 06 Sep 2024 06:12:31 +0000</pubDate>
      <link>https://forem.com/vivek_sharma_1b25fe6df3b4/how-to-fix-styles-and-js-not-loading-on-page-reload-in-react-when-using-useparams-55f1</link>
      <guid>https://forem.com/vivek_sharma_1b25fe6df3b4/how-to-fix-styles-and-js-not-loading-on-page-reload-in-react-when-using-useparams-55f1</guid>
      <description>&lt;p&gt;I using React with React Router and have a route like &lt;a href="http://localhost:3000/category-wise/6" rel="noopener noreferrer"&gt;http://localhost:3000/category-wise/6&lt;/a&gt;, you might encounter a problem where, on a page reload, only the HTML data is shown and all styles and JavaScript files fail to load. This issue often happens when you're using the useParams() hook to get URL parameters in your component.&lt;/p&gt;

</description>
      <category>react</category>
      <category>reactroutedom</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
