<?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: sohel1718</title>
    <description>The latest articles on DEV Community by sohel1718 (@sohel1718).</description>
    <link>https://dev.to/sohel1718</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%2F655081%2Fe672395f-f076-4e89-95cd-8ee49cd39bc9.png</url>
      <title>DEV Community: sohel1718</title>
      <link>https://dev.to/sohel1718</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sohel1718"/>
    <language>en</language>
    <item>
      <title>Best Ways To Optimize React Sites</title>
      <dc:creator>sohel1718</dc:creator>
      <pubDate>Mon, 28 Jun 2021 08:56:43 +0000</pubDate>
      <link>https://dev.to/sohel1718/best-ways-to-optimize-react-sites-m0o</link>
      <guid>https://dev.to/sohel1718/best-ways-to-optimize-react-sites-m0o</guid>
      <description>&lt;p&gt;React Performance Optimization is easy to achieve with the following simple steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using &lt;strong&gt;React Hooks&lt;/strong&gt; and working with functional programming&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;React.memo&lt;/strong&gt; for Component Memorization&lt;/li&gt;
&lt;li&gt;Using the &lt;strong&gt;shouldComponentUpdate&lt;/strong&gt; Life Cycle Event&lt;/li&gt;
&lt;li&gt;Using &lt;strong&gt;Lazy Loading&lt;/strong&gt; of React Components&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;React Fragments&lt;/strong&gt; to Avoid Extra Tag&lt;/li&gt;
&lt;li&gt;Do Not Use &lt;strong&gt;React Inline Function Definition&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Avoid Async Requests in &lt;strong&gt;componentWillMount()&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bind Function&lt;/strong&gt; Early in Constructor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Arrow Functions&lt;/strong&gt; vs &lt;strong&gt;Binding&lt;/strong&gt; in Constructors&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Avoid Using Inline Style&lt;/strong&gt; Attribute&lt;/li&gt;
&lt;li&gt;Optimize &lt;strong&gt;Conditional Rendering&lt;/strong&gt; in React&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don’t Derive Data&lt;/strong&gt; in the Render Method&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create Error Boundaries&lt;/strong&gt; for the Components&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Immutable Data Structures&lt;/strong&gt; for Components&lt;/li&gt;
&lt;li&gt;Using a &lt;strong&gt;Unique Key&lt;/strong&gt; for Iteration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Throttling&lt;/strong&gt; and &lt;strong&gt;Debouncing&lt;/strong&gt; Events&lt;/li&gt;
&lt;li&gt;Using &lt;strong&gt;CDNs&lt;/strong&gt; for &lt;strong&gt;External Resources&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSS Animation&lt;/strong&gt; Instead of JavaScript Animation&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;gzip Compression&lt;/strong&gt; on the Web Server&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;Web Workers&lt;/strong&gt; for CPU Extensive Tasks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server-Side Rendering&lt;/strong&gt; of the React Component&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Some Videos To Refer &lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/o-alRbk_zP0"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  Some article's and Links To Refer
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;10 Ways to Optimize Your React App’s Performance&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;a href="https://blog.bitsrc.io/10-ways-to-optimize-your-react-apps-performance-e5e437c9abce" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iqdITSYR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/fit/c/96/96/1%2AWSdkXxKtD8m54-1xp75cqQ.jpeg" alt="Chidume Nnamdi 🔥💻🎵🎮"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://blog.bitsrc.io/10-ways-to-optimize-your-react-apps-performance-e5e437c9abce" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;10 Ways to Optimize Your React App’s Performance | by Chidume Nnamdi 🔥💻🎵🎮 | Bits and Pieces&lt;/h2&gt;
      &lt;h3&gt;Chidume Nnamdi 🔥💻🎵🎮 ・ &lt;time&gt;Apr 13, 2021&lt;/time&gt; ・ 
      &lt;div class="ltag__link__servicename"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ze5yh_2q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/medium_icon-90d5232a5da2369849f285fa499c8005e750a788fdbf34f5844d5f2201aae736.svg" alt="Medium Logo"&gt;
        blog.bitsrc.io
      &lt;/div&gt;
    &lt;/h3&gt;
&lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/sagar" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UQE8fxUB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--07AkXJ7f--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/81664/c08a6b5d-14ae-48ba-b808-2d977d9cc358.jpg" alt="sagar"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/sagar/things-should-be-considered-while-writing-your-react-components-3n4a" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;React Performance Optimization&lt;/h2&gt;
      &lt;h3&gt;Sagar ・ Apr 26 '20 ・ 4 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#react&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/harshdand" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h9h8reWa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--OKOi5Qlu--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/248522/82dbf0d0-ec4a-4188-b29d-f91147e9001b.png" alt="harshdand"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/harshdand/react-performance-optimization-tips-4238" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;React Performance Optimization Tips&lt;/h2&gt;
      &lt;h3&gt;Harsh ・ Dec 27 '20 ・ 5 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#react&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#performance&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Improve SEO In React Sits's</title>
      <dc:creator>sohel1718</dc:creator>
      <pubDate>Mon, 28 Jun 2021 08:56:08 +0000</pubDate>
      <link>https://dev.to/sohel1718/improve-seo-in-react-sits-s-3anc</link>
      <guid>https://dev.to/sohel1718/improve-seo-in-react-sits-s-3anc</guid>
      <description>&lt;p&gt;When using React-JS in web development we face issue in SEO because of react is rendered on client side.&lt;br&gt;
So when a crawler or a bot visit are site. It does not find any html code. &lt;br&gt;
Because crawler's ignore JS code.&lt;br&gt;
So we have to render are site on server so that crawler's can see the html.&lt;/p&gt;

&lt;p&gt;For that we can use Next.js and If are site is in production then we can use some tools like react-helmet for dynamic head component and we can render the site on server.&lt;/p&gt;
&lt;h1&gt;
  
  
  Some links to refer
&lt;/h1&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="https://blog.bitsrc.io/improving-seo-of-react-apps-with-react-helmet-7b79fb8774f4" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ov_HhMlD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://miro.medium.com/fit/c/96/96/2%2AFG4lpTG6MxKsIj_BBTqwRg.jpeg" alt="John Au-Yeung"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://blog.bitsrc.io/improving-seo-of-react-apps-with-react-helmet-7b79fb8774f4" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Improving SEO with React Helmet. To make our web app or website visible… | by John Au-Yeung | Bits and Pieces&lt;/h2&gt;
      &lt;h3&gt;John Au-Yeung ・ &lt;time&gt;Jun 4, 2020&lt;/time&gt; ・ 
      &lt;div class="ltag__link__servicename"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ze5yh_2q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/medium_icon-90d5232a5da2369849f285fa499c8005e750a788fdbf34f5844d5f2201aae736.svg" alt="Medium Logo"&gt;
        blog.bitsrc.io
      &lt;/div&gt;
    &lt;/h3&gt;
&lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.peerbits.com/blog/build-seo-friendly-web-apps-using-reactjs-redux-nextjs.html"&gt;&lt;code&gt;ABOUT SEO IMPROVEMENT&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.digitalocean.com/community/tutorials/react-react-router-ssr"&gt;&lt;code&gt;React-Router SSR&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/joelvarty" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mLmZavdY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--pOfFa0EG--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/216132/136e5b4a-be5c-46ec-899b-f015693c3497.jpg" alt="joelvarty"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/joelvarty/prerender-your-spa-using-netlify-for-better-seo-3h87" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Prerender your SPA using Netlify For Better SEO&lt;/h2&gt;
      &lt;h3&gt;Joel Varty ・ Aug 22 '19 ・ 2 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#react&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#cms&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/colbyfayock" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xlv1dTkX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/practicaldev/image/fetch/s--VO7FWp_z--/c_fill%2Cf_auto%2Cfl_progressive%2Ch_150%2Cq_auto%2Cw_150/https://dev-to-uploads.s3.amazonaws.com/uploads/user/profile_image/186511/c8cb9a0a-e3bb-4f6e-a332-c45617c1455a.png" alt="colbyfayock"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/colbyfayock/crafting-a-react-next-js-single-page-application-optimized-for-seo-54fk" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Crafting a React/Next.js Single Page Application Optimized for SEO&lt;/h2&gt;
      &lt;h3&gt;Colby Fayock ・ Jun 10 ・ 16 min read&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#react&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#nextjs&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#seo&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/-B58GgsehKQ"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
