<?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: Himesh Dua</title>
    <description>The latest articles on Forem by Himesh Dua (@himeshdua).</description>
    <link>https://forem.com/himeshdua</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%2F3194906%2F6774b4e9-3077-4ae2-870f-a2be64dca078.png</url>
      <title>Forem: Himesh Dua</title>
      <link>https://forem.com/himeshdua</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/himeshdua"/>
    <language>en</language>
    <item>
      <title>React vs Next Frontend: Which is better?</title>
      <dc:creator>Himesh Dua</dc:creator>
      <pubDate>Sun, 01 Jun 2025 15:47:20 +0000</pubDate>
      <link>https://forem.com/himeshdua/react-vs-next-frontend-which-is-better-h3p</link>
      <guid>https://forem.com/himeshdua/react-vs-next-frontend-which-is-better-h3p</guid>
      <description>&lt;p&gt;React is a JavaScript library for User Interfaces, while Next is a full-stack framework build on top of React, You can think of it like a enhanced version of React with features like routing, server-side rendering, and better SEO capabilities.&lt;br&gt;
To know the difference between React.js and Next.js first you have to know about what is React, what is the working or React.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reactjs Core&lt;/strong&gt;&lt;br&gt;
React uses a Virtual DOM, a lightweight copy of actually DOM (Document Obeject Model). This lets React efficiently updates only the parts of the UI that changes, rather than reloading full page.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nextjs Core&lt;/strong&gt;&lt;br&gt;
NOTE: WE WILL ONLY TALK ABOUT NEXT FRONTEND BECAUSE THATS THE TOPIC TODAY.&lt;br&gt;
Next.js builds on React by adding powerfull features like server-side rendering (SSR), and automatic static optimizations&lt;/p&gt;

&lt;p&gt;In React, routing is manual you have to set it up with tools like react-router. In Next.js you just create a folder in the app directory and name it based on your route name (ex: about,dashboard), No boilerplate code needed.&lt;/p&gt;

&lt;p&gt;For SEO and performance, Next.js uses SSR and static generation. It can pre-render HTML on the server, which loads faster and is more SEO-friendly. Dynamic pages can also be server-rendered in chunks — Next figures out what to serve based on the user's request and only sends what's needed. If a page uses use client, the server sends that component's JavaScript to the browser, which then renders it client-side.&lt;/p&gt;

&lt;p&gt;By the way on what tech do you build frontend?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>programming</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Should I Focus in Laravel? I self taught myself to build projects on React and after Nextjs and Now my institute has started to teach me Laravel. I am not a big fan of php and its syntax but Laravel is quite neutral to me.</title>
      <dc:creator>Himesh Dua</dc:creator>
      <pubDate>Thu, 22 May 2025 09:14:54 +0000</pubDate>
      <link>https://forem.com/himeshdua/should-i-focus-in-laravel-i-self-taught-myself-to-build-projects-on-react-and-after-nextjs-and-356c</link>
      <guid>https://forem.com/himeshdua/should-i-focus-in-laravel-i-self-taught-myself-to-build-projects-on-react-and-after-nextjs-and-356c</guid>
      <description></description>
      <category>laravel</category>
      <category>php</category>
      <category>react</category>
      <category>career</category>
    </item>
  </channel>
</rss>
