<?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>Forem: Abhilash Sadasivan Sakunthala</title>
    <description>The latest articles on Forem by Abhilash Sadasivan Sakunthala (@itsmeab).</description>
    <link>https://forem.com/itsmeab</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%2F318842%2F7fd0e0d4-0528-4f7b-aadc-9be91950283b.jpg</url>
      <title>Forem: Abhilash Sadasivan Sakunthala</title>
      <link>https://forem.com/itsmeab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/itsmeab"/>
    <language>en</language>
    <item>
      <title>covid-19-tracker using React with Typescript</title>
      <dc:creator>Abhilash Sadasivan Sakunthala</dc:creator>
      <pubDate>Fri, 18 Sep 2020 13:54:25 +0000</pubDate>
      <link>https://forem.com/itsmeab/covid-19-tracker-using-react-with-typescript-dic</link>
      <guid>https://forem.com/itsmeab/covid-19-tracker-using-react-with-typescript-dic</guid>
      <description>&lt;p&gt;please check it here: &lt;a href="https://itsmeab.github.io/covid-19-tracker/"&gt;https://itsmeab.github.io/covid-19-tracker/&lt;/a&gt;&lt;br&gt;
git hub URL: &lt;a href="https://github.com/itsmeAB/covid-19-tracker"&gt;https://github.com/itsmeAB/covid-19-tracker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Oh... It is really amazing when start using React with Typescript. It is giving more effectiveness in development (my opinion). &lt;/p&gt;

&lt;p&gt;Anyone can find free APIs for getting the covid19 details.&lt;br&gt;
I referred this one for COVID-19 details: &lt;a href="https://disease.sh/"&gt;https://disease.sh/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I used to React Leaflet for showing the map. It is the first time I am using this library. &lt;a href="https://react-leaflet.js.org/"&gt;https://react-leaflet.js.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also used the Chart.js for showing the Line graph.&lt;/p&gt;

&lt;p&gt;I don't think it is 100% perfect. But I will try to improve.&lt;br&gt;
Feel free to make suggestions on the application and code.&lt;/p&gt;

</description>
      <category>react</category>
      <category>typescript</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>2048 game using react</title>
      <dc:creator>Abhilash Sadasivan Sakunthala</dc:creator>
      <pubDate>Fri, 14 Aug 2020 07:28:32 +0000</pubDate>
      <link>https://forem.com/itsmeab/2048-game-using-react-5d2d</link>
      <guid>https://forem.com/itsmeab/2048-game-using-react-5d2d</guid>
      <description>&lt;p&gt;online demo is here: &lt;a href="https://itsmeab.github.io/React-2048-game/"&gt;https://itsmeab.github.io/React-2048-game/&lt;/a&gt;&lt;br&gt;
code is here: &lt;a href="https://github.com/itsmeAB/React-2048-game"&gt;https://github.com/itsmeAB/React-2048-game&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>2048</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>React understanding for Beginers</title>
      <dc:creator>Abhilash Sadasivan Sakunthala</dc:creator>
      <pubDate>Fri, 12 Jun 2020 13:47:50 +0000</pubDate>
      <link>https://forem.com/itsmeab/react-understanding-for-beginers-1j3o</link>
      <guid>https://forem.com/itsmeab/react-understanding-for-beginers-1j3o</guid>
      <description>&lt;p&gt;Its been a long time I am thinking to write something about react what I know. &lt;/p&gt;

&lt;p&gt;React is javascipt library for building user interfaces. It was developed by facebook in 2011. Currently it is one of the most popular javascipt library for building user interfaces. Nowadays, React is dominating this place for a long.&lt;/p&gt;

&lt;p&gt;We can say that components are the heart of React applications. Component is a piece of user interface. Simple react application or complex react application, whatever it is, using a number of components to create the final product. It is helping the developer for the coming changes in the future.&lt;br&gt;
Every React application has an &lt;code&gt;App&lt;/code&gt; component which refered to as the root component. This component will represent the entire application and it contains all other child components. So every react application is a tree of components.&lt;br&gt;
consider an example&lt;/p&gt;

&lt;p&gt;Component is implemented as Javascript class or function. After the introduction of react Hooks everyone is mostly using the Functional components.&lt;/p&gt;

&lt;h3&gt;
  
  
  class component
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nx"&gt;classComponent&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nx"&gt;React&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Component&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;render&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Hello, &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt; &lt;span class="c1"&gt;// React element&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  functional component
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;functionalComponent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Hello, &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;h1&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt; &lt;span class="c1"&gt;// React element&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The class component contains state and render method mainly. State is that we want to display when the component is renderd and the render method is describing how the UI looks like. The output of the render method is a react element which is a simple javascript object that maps to a DOM element it is not a real DOM element. It is just a plain javascript object that represents the DOM element in the memory. The representation of DOM element in the memory is refered to as &lt;code&gt;Virtual DOM&lt;/code&gt;. When we change a state of component, then it will get a new React element. Thn react will compare this element and its children with the previous one and figures out what is changed and then it will update the part of the real DOM to keep it in sync with the virtual DOM. So we do not need to attach any evend handlers to DOM elements. &lt;br&gt;
In case of functional component, using &lt;code&gt;return&lt;/code&gt; instead of &lt;code&gt;render&lt;/code&gt; method. It will return also a React element. There is no state. React 16.8 introduced Hooks. So in functional componets using hooks which can be called to create and maintain state. &lt;/p&gt;

&lt;p&gt;If functional component is the first choice then the code will be shorter and easier to read.&lt;/p&gt;

&lt;p&gt;As I mentioned earlier React is a library. Because of that need to use seperate libraries like Redux for state management and react-router for routing and etc. But it is not a big deal and it will not affect the performance of application development.&lt;br&gt;&lt;br&gt;
React is react to state change.&lt;/p&gt;

&lt;p&gt;will continue ...&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Instagram - logo</title>
      <dc:creator>Abhilash Sadasivan Sakunthala</dc:creator>
      <pubDate>Sun, 02 Feb 2020 15:45:57 +0000</pubDate>
      <link>https://forem.com/itsmeab/instagram-logo-37c</link>
      <guid>https://forem.com/itsmeab/instagram-logo-37c</guid>
      <description>&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/AbhilashKaramana/embed/MWYNpWY?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;br&gt;
?signin=true&lt;/p&gt;

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