<?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: Imran Hasan</title>
    <description>The latest articles on DEV Community by Imran Hasan (@narrowspace).</description>
    <link>https://dev.to/narrowspace</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%2F780859%2F09255dad-171a-422d-b3e2-c3ae2592dbb3.jpeg</url>
      <title>DEV Community: Imran Hasan</title>
      <link>https://dev.to/narrowspace</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/narrowspace"/>
    <language>en</language>
    <item>
      <title>What is Experss js</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Mon, 27 Dec 2021 10:03:37 +0000</pubDate>
      <link>https://dev.to/narrowspace/what-is-experss-js-g93</link>
      <guid>https://dev.to/narrowspace/what-is-experss-js-g93</guid>
      <description>&lt;p&gt;ExpressJS is a web application framework that provides us with a simple API to build websites, web apps and back ends. With ExpressJS, we need not worry about low level protocols, processes, etc. Fast, unopinionated, minimalist web framework for Node.js&lt;/p&gt;

&lt;p&gt;Express.js is a Node.js web application server framework, designed for building single-page, multi-page, and hybrid web applications. It is the de facto standard &lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Mongoose?</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Mon, 27 Dec 2021 10:02:25 +0000</pubDate>
      <link>https://dev.to/narrowspace/what-is-mongoose-1h78</link>
      <guid>https://dev.to/narrowspace/what-is-mongoose-1h78</guid>
      <description>&lt;p&gt;Mongoose is an Object Document Mapper (ODM). This means that Mongoose allows us to define objects with a strongly-typed schema that is mapped to a MongoDB document.Mongoose is a way to make connections with mongodb databases. It provides mongodb validation and query in a very simple manner and it makes development fast.&lt;br&gt;
Mongoose provides an incredible amount of functionality around creating and working with schemas. Mongoose currently contains eight SchemaTypes that a property is saved as when it is persisted to MongoDB. They are:&lt;br&gt;
String&lt;br&gt;
Number&lt;br&gt;
Date&lt;br&gt;
Buffer&lt;br&gt;
Boolean&lt;br&gt;
Mixed&lt;br&gt;
ObjectId&lt;br&gt;
Array&lt;/p&gt;

</description>
    </item>
    <item>
      <title>CRUD Operations
</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Mon, 27 Dec 2021 07:50:29 +0000</pubDate>
      <link>https://dev.to/narrowspace/crud-operations-1a7i</link>
      <guid>https://dev.to/narrowspace/crud-operations-1a7i</guid>
      <description>&lt;p&gt;Crud operation means create,read,update,delete data from frontend to backend.Suppose in a web page every user should create a user account on that site its called create operation.User also saw about their information its a read operation.User maybe change their personal information it means update and user can delete his account from server its a delete operation.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React Hooks</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Sun, 26 Dec 2021 16:06:49 +0000</pubDate>
      <link>https://dev.to/narrowspace/react-hooks-3od7</link>
      <guid>https://dev.to/narrowspace/react-hooks-3od7</guid>
      <description>&lt;p&gt;Hooks are the new feature  which is introduced in the React 16.8 version. It allows you to use state and other React features without writing a class. Hooks are the functions which "hook into" React state and lifecycle features from function components. It does not work inside classes.&lt;br&gt;
Hooks are backward-compatible, which means it does not contain any breaking changes. Also, it does not replace your knowledge of React concepts.&lt;br&gt;
When to use a Hooks&lt;br&gt;
If we write a function component, and then we want to add some state to it, previously we do this by converting it to a class. But, now we can do it by using a Hook inside the existing function component.&lt;br&gt;
Rules of Hooks&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Only call Hooks at the top level
Do not call Hooks inside loops, conditions, or nested functions. Hooks should always be used at the top level of the React functions. This rule ensures that Hooks are called in the same order each time a component renders.&lt;/li&gt;
&lt;li&gt;Only call Hooks from React functions
We cannot call Hooks from regular JavaScript functions. Instead, we can call Hooks from React function components. Hooks can also be called from custom Hooks.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is JSX</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Sun, 26 Dec 2021 15:55:49 +0000</pubDate>
      <link>https://dev.to/narrowspace/what-is-jsx-1kfa</link>
      <guid>https://dev.to/narrowspace/what-is-jsx-1kfa</guid>
      <description>&lt;p&gt;Jsx means Javascript xml.JSX makes it easier to write and add HTML in React.JSX allows us to write HTML elements in JavaScript and place them in the DOM without any createElement()  and  appendChild() methods.JSX converts HTML tags into react elements.&lt;/p&gt;

&lt;p&gt;Example with Jsx: &lt;br&gt;
const myelement = &lt;/p&gt;
&lt;h1&gt;'hello world!'&lt;/h1&gt;;&lt;br&gt;
ReactDOM.render(myelement, document.getElementById('root'));&lt;br&gt;
Example without Jsx:&lt;br&gt;
const myelement = React.createElement('h1', {}, 'hello world!');

&lt;p&gt;ReactDOM.render(myelement, document.getElementById('root'));&lt;/p&gt;

</description>
    </item>
    <item>
      <title>PropTypes in React
</title>
      <dc:creator>Imran Hasan</dc:creator>
      <pubDate>Sun, 26 Dec 2021 15:18:31 +0000</pubDate>
      <link>https://dev.to/narrowspace/proptypes-in-react-11kl</link>
      <guid>https://dev.to/narrowspace/proptypes-in-react-11kl</guid>
      <description>&lt;p&gt;Props and prop type are important mechanisms in react.props which means “properties” props usually send data from one component to another component in react.If components send wrong data it will show errors and bugs.We pass different type of props like string,number,array,function,objects.When props are passed to a React component, they are checked against the type definitions configured in the propTypes property. When an invalid value is passed for a prop, a warning is displayed on the JavaScript console.``&lt;/p&gt;

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