<?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: Ariful Haque</title>
    <description>The latest articles on DEV Community by Ariful Haque (@arifulhaque145).</description>
    <link>https://dev.to/arifulhaque145</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%2F779009%2Fb1540aad-9187-43bc-a449-4d7fa150f727.png</url>
      <title>DEV Community: Ariful Haque</title>
      <link>https://dev.to/arifulhaque145</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arifulhaque145"/>
    <language>en</language>
    <item>
      <title>Some backend features used in web</title>
      <dc:creator>Ariful Haque</dc:creator>
      <pubDate>Thu, 23 Dec 2021 17:37:15 +0000</pubDate>
      <link>https://dev.to/arifulhaque145/some-backend-features-used-in-web-a68</link>
      <guid>https://dev.to/arifulhaque145/some-backend-features-used-in-web-a68</guid>
      <description>&lt;p&gt;&lt;strong&gt;CRUD Operation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In computer programming, crud is a very commonly used operation. The acronym, CRUD means create, read, update and delete. These basic four steps are used to operate on data in  a storage. Those functions are executed in a relational database application.&lt;br&gt;
It helps a user to read the data, edit that date, add the data and even he or she can delete it. Those functions can be modified by taking data from a service. It is mainly data-oriented operations.&lt;br&gt;
Most of the applications, android or iphone app, crud operation is commonly used. Every programmer around the globe must need to use crud operation for their projects. A crud application is used to take and send data to the database. The procedures of crud operation are given.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CREATE&lt;/strong&gt; procedures: It inserts data to the database table row..&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;READ&lt;/strong&gt; procedures: It gets data from the database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UPDATE&lt;/strong&gt; procedures: It executes when the data is needed to change something in it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DELETE&lt;/strong&gt; procedures: This performs nothing but to delete any data from the database table.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>node</category>
    </item>
    <item>
      <title>The newest features of React Router 6</title>
      <dc:creator>Ariful Haque</dc:creator>
      <pubDate>Wed, 22 Dec 2021 16:48:20 +0000</pubDate>
      <link>https://dev.to/arifulhaque145/the-newest-features-of-react-router-6-41nl</link>
      <guid>https://dev.to/arifulhaque145/the-newest-features-of-react-router-6-41nl</guid>
      <description>&lt;p&gt;In this article, the topic will be discussed about the new cool features of react router 6.&lt;/p&gt;

&lt;p&gt;React router is a very popular library in reactjs. We use this library in our daily web projects. As before, the react router 5 was used in web development, which was nice. But we, the developers, always try to find something new. So the community helps us to give comfort and ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Routes&lt;/strong&gt;&lt;br&gt;
In react router 5, Switch was used to navigate one link to another. But in version 6, it introduces Routes. I like the way routes behave. &lt;br&gt;
In switch, we used to write our components in a tag and also have a problem of nesting those components. But routes came to solve this. There is no harassment of nesting tags and routing. Also we don’t need to use exact for not found pages.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;BrowserRouter&amp;gt;
    &amp;lt;Routes&amp;gt;
        &amp;lt;Route path="/" element={&amp;lt;Home /&amp;gt;} /&amp;gt;
        &amp;lt;Route path="customers/*" element={&amp;lt;Customers /&amp;gt;} /&amp;gt;
    &amp;lt;/Routes&amp;gt;
&amp;lt;/BrowserRouter&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;useRouter&lt;/strong&gt;&lt;br&gt;
A route can be built with JavaScript objects using this. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;useNavigate&lt;/strong&gt;&lt;br&gt;
It is a coolest feature in react router 6. previously , we used &lt;em&gt;usehistory&lt;/em&gt; to navigate but now &lt;em&gt;useNavigate&lt;/em&gt; give us an extra flavor of navigating. Also, we can use &lt;em&gt;Navigate&lt;/em&gt; that redirect the user.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Redirect() {
  return &amp;lt;Navigate to="/home" replace /&amp;gt;;
}

function HomeButton() {
  let navigate = useNavigate();
  function handleClick() {
    navigate('/home')
  }
  return (
    &amp;lt;div&amp;gt;
      &amp;lt;button onClick={handleClick}&amp;gt;Go to home page&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>react</category>
    </item>
  </channel>
</rss>
