<?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: niirjhor</title>
    <description>The latest articles on DEV Community by niirjhor (@niirjhor).</description>
    <link>https://dev.to/niirjhor</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%2F778401%2F3293d78a-3a57-4337-abb9-ab376c51d8f5.jpeg</url>
      <title>DEV Community: niirjhor</title>
      <link>https://dev.to/niirjhor</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/niirjhor"/>
    <language>en</language>
    <item>
      <title>JWT</title>
      <dc:creator>niirjhor</dc:creator>
      <pubDate>Sun, 26 Dec 2021 11:59:54 +0000</pubDate>
      <link>https://dev.to/niirjhor/jwt-5be0</link>
      <guid>https://dev.to/niirjhor/jwt-5be0</guid>
      <description>&lt;p&gt;JWT&lt;br&gt;
JWT, or JSON Web Token, is an open standard used to share security information between two parties — a client and a server. JSON items, containing a set of claims, are encoded in each JWT. JWTs are signed with a cryptographic algorithm to ensure that the claims can't be changed after they've been distributed.&lt;br&gt;
How JWT works:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OY_-ks42--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cg51pxm33yksutxouxlt.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OY_-ks42--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cg51pxm33yksutxouxlt.JPG" alt="Image description" width="734" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>CRUD Operations</title>
      <dc:creator>niirjhor</dc:creator>
      <pubDate>Fri, 24 Dec 2021 06:49:11 +0000</pubDate>
      <link>https://dev.to/niirjhor/crud-operations-3o3j</link>
      <guid>https://dev.to/niirjhor/crud-operations-3o3j</guid>
      <description>&lt;p&gt;The terms CRUD (create, read, update, and delete) stand for create, read, update, and delete. The four basic roles of persistent storage are as follows.&lt;br&gt;
CREATE procedures: To create a new record, use the INSERT command. In the SQL relational database application, the Create function is called INSERT. In Oracle HCM Cloud, it is called create.&lt;br&gt;
• db.collection.insertOne() New in version 3.2 in MongoDB&lt;br&gt;
• db.collection.insertMany() New in version 3.2 in MongoDB&lt;/p&gt;

&lt;p&gt;READ procedures: The primary keynoted within the input parameter is used to read the table records. The read function is like a search function&lt;br&gt;
• db.collection.find()&lt;/p&gt;

&lt;p&gt;UPDATE procedures: Executes a UPDATE statement on the table based on the primary key supplied for a record in the WHERE clause. The update function is used to modify existing records that exist in the database. To fully change a record, users may have to modify information in multiple fields.&lt;br&gt;
• db.collection.updateOne() New in version 3.2 in MongoDB&lt;br&gt;
• db.collection.updateMany() New in version 3.2 in MongoDB&lt;br&gt;
• db.collection.replaceOne() New in version 3.2 in MongoDB&lt;/p&gt;

&lt;p&gt;DELETE procedures: In the WHERE clause, deletes a specific record. The delete function allows users to remove records from a database that is no longer needed.&lt;br&gt;
• db.collection.deleteOne() New in version 3.2 in MongoDB&lt;br&gt;
• db.collection.deleteMany() New in version 3.2 in MongoDB&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Context API</title>
      <dc:creator>niirjhor</dc:creator>
      <pubDate>Tue, 21 Dec 2021 18:21:17 +0000</pubDate>
      <link>https://dev.to/niirjhor/context-api-27j7</link>
      <guid>https://dev.to/niirjhor/context-api-27j7</guid>
      <description>&lt;p&gt;A React app can use the React Context API to generate global variables that can be passed around. This is an alternative to "prop drilling," which entails passing props from grandparent to child to parent and so on. Context is also marketed as a simpler, lighter way to Redux state management.&lt;/p&gt;

&lt;p&gt;Context API is a (sort of) new feature in React 16.3 that allows you to communicate state easily and lightly across the entire project (or part of it).&lt;br&gt;
React.create All you need is Context(). It will give you a customer and a provider. Provider is a component that supplies the state to its children, as its name suggests. It will contain the "store" and serve as the parent of all components that may require it. A component that consumes and uses the state is known as a consumer.&lt;br&gt;
How to use Context API?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Create a folder called contexts under your app's root directory (this is optional). It's only a convention.)&lt;/li&gt;
&lt;li&gt; Make a file with the name your context name&lt;/li&gt;
&lt;li&gt; Context.js, such as userContext.js, imports and creates a context&lt;/li&gt;
&lt;li&gt; Create a component named Provider to wrap the provider, for example. UserProvider&lt;/li&gt;
&lt;li&gt; Create a higher-order component named with, for example, withUser, to consume the context.&lt;/li&gt;
&lt;li&gt; Finally, export them and&lt;/li&gt;
&lt;li&gt; Use them as needed.&lt;/li&gt;
&lt;/ol&gt;

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