<?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: Programmer Sajeeb</title>
    <description>The latest articles on DEV Community by Programmer Sajeeb (@programmersajeeb).</description>
    <link>https://dev.to/programmersajeeb</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F821744%2F7c3b4481-fe0e-4cf1-bc0d-f589e08d0004.jpeg</url>
      <title>DEV Community: Programmer Sajeeb</title>
      <link>https://dev.to/programmersajeeb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/programmersajeeb"/>
    <language>en</language>
    <item>
      <title>TypeScript</title>
      <dc:creator>Programmer Sajeeb</dc:creator>
      <pubDate>Fri, 04 Mar 2022 17:07:25 +0000</pubDate>
      <link>https://dev.to/programmersajeeb/typescript-26nc</link>
      <guid>https://dev.to/programmersajeeb/typescript-26nc</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;What is TypeScript?&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
TypeScript is a strongly typed programming language that builds on JavaScript. It is a superset of JavaScript created by Microsoft. It is an updated version of JavaScript. TypeScript is an Open Source Project, and the source code for it is available on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Why do we use Typescript:&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
TypeScript solves the largest issue in JavaScript. JavaScript shows an error or problem in runtime when we are trying to find our bug in the whole JavaScript code. JavaScript can't directly show the exact error. TypeScript removes this problem by checking for any issue at compile time.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;The main advantages of TypeScript:&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Strict typing&lt;br&gt;
Everything stays the way we define it. Need a variable to always be a number? It’ll always be a number, then.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Structural typing&lt;br&gt;
Indispensable when you care about fully defining the actual structure you use. JavaScript allows for a lot of strange things to be done, so relying on a specific structure is a much safer solution.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Type annotations&lt;br&gt;
A handy way of saying explicitly what type should be used.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Type inference&lt;br&gt;
Implicit typing performed by TypeScript itself, so that your developers don’t need to provide types where the compiler can find them on its own.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;Typescript benefits:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;
The main benefit of typescript is showing errors before runtime and we can select the type. Its supports modern features of JavaScript. TypeScript additional syntax catches errors early in your editor. Its code converts to JavaScript, which runs anywhere like JavaScript browser, on Node.js or Deno, and in your apps.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>react</category>
      <category>typescript</category>
    </item>
    <item>
      <title>Redux</title>
      <dc:creator>Programmer Sajeeb</dc:creator>
      <pubDate>Fri, 25 Feb 2022 12:47:16 +0000</pubDate>
      <link>https://dev.to/programmersajeeb/redux-l94</link>
      <guid>https://dev.to/programmersajeeb/redux-l94</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yHV2iBg_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ell71l7cwkl5y73gccqd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yHV2iBg_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ell71l7cwkl5y73gccqd.png" alt="Image description" width="880" height="440"&gt;&lt;/a&gt;&lt;strong&gt;What is Redux&lt;/strong&gt;&lt;br&gt;
Redux is a predictable state container designed to help write JavaScript apps. It behaves consistently in client, server and native environments. It is mostly used as a state management tool with React. It can also be used with any other JavaScript framework or library. Redux, the state of the application is kept in a store, and each component can access any state that it needs from this store.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When to use Redux&lt;/strong&gt;&lt;br&gt;
Redux lets you manage app status in a single place and make app changes more predictable and recognizable. This makes it easier to reason about changes in the app. Usually when the app scale increases, managing the condition of the app becomes a problem. Redux is used to solve this problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why use Redux?&lt;/strong&gt;&lt;br&gt;
When using React-Redux, the states no longer need to go up. This makes it easier to identify which action causes which change. Using Redux does not require the component's child component to provide any state or method for sharing data among themselves. This greatly simplifies the app and simplifies maintenance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Redux makes the state predictable&lt;/strong&gt;&lt;br&gt;
In Redux, the state is always predictable. If the same state and action are passed to a reducer, the same result is always produced because reducers are pure functions. The state is also immutable and is never changed. This makes it possible to implement arduous tasks like infinite undo and redo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Redux is maintainable&lt;/strong&gt;&lt;br&gt;
Redux is strict about how code should be organized, which makes it easier for someone with knowledge of Redux to understand the structure of any Redux application. This generally makes it easier to maintain. This also helps segregate business logic from component trees. For large scale apps, it’s critical to keep apps more predictable and maintainable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging is easy in Redux&lt;/strong&gt;&lt;br&gt;
Redux makes it easy to debug an application. By logging actions and state, it is easy to understand coding errors, network errors, and other forms of bugs that might come up during production. Redux DevTools also makes it easy to take advantage of all Redux offers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Performance Benefits&lt;/strong&gt;&lt;br&gt;
React Redux implements many performance optimizations internally so that your own connected component only rerenders when it actually needs to.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>redux</category>
      <category>react</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
