<?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: Arthur</title>
    <description>The latest articles on DEV Community by Arthur (@witharthur).</description>
    <link>https://dev.to/witharthur</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%2F3619143%2Ff563204f-c4ac-45c3-b290-123da4aec8ae.jpeg</url>
      <title>DEV Community: Arthur</title>
      <link>https://dev.to/witharthur</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/witharthur"/>
    <language>en</language>
    <item>
      <title>JavaScript Variables</title>
      <dc:creator>Arthur</dc:creator>
      <pubDate>Thu, 14 May 2026 13:42:12 +0000</pubDate>
      <link>https://dev.to/witharthur/javascript-variables-17pk</link>
      <guid>https://dev.to/witharthur/javascript-variables-17pk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpn2ofdbjla7alr0zj0na.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpn2ofdbjla7alr0zj0na.jpg" alt=" " width="784" height="1168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  var
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Old way of declaring variables&lt;/li&gt;
&lt;li&gt;Scope is function-based (not limited to blocks)&lt;/li&gt;
&lt;li&gt;Can be changed later&lt;/li&gt;
&lt;li&gt;Can be redeclared in the same scope&lt;/li&gt;
&lt;li&gt;Less safe and can lead to unexpected behavior&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  let
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Modern way to declare variables&lt;/li&gt;
&lt;li&gt;Scope is block-based&lt;/li&gt;
&lt;li&gt;Value can be changed (reassigned)&lt;/li&gt;
&lt;li&gt;Cannot be redeclared in the same scope&lt;/li&gt;
&lt;li&gt;Safer and more predictable than &lt;code&gt;var&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  const
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Modern way for fixed values&lt;/li&gt;
&lt;li&gt;Scope is block-based&lt;/li&gt;
&lt;li&gt;Value cannot be changed or reassigned&lt;/li&gt;
&lt;li&gt;Must be initialized when declared&lt;/li&gt;
&lt;li&gt;Used for values that should stay constant&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Scope (where variables exist)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;var&lt;/code&gt; → function scope&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;let&lt;/code&gt; and &lt;code&gt;const&lt;/code&gt; → block scope&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Hoisting (simple idea)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;var&lt;/code&gt; is available before declaration but has an empty value initially&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;let&lt;/code&gt; and &lt;code&gt;const&lt;/code&gt; are also known before declaration but cannot be used before they are defined&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  JavaScript Modes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Sloppy Mode
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Default mode&lt;/li&gt;
&lt;li&gt;Less strict rules&lt;/li&gt;
&lt;li&gt;Allows unsafe or accidental behaviors&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Strict Mode
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Activated manually&lt;/li&gt;
&lt;li&gt;Prevents many common mistakes&lt;/li&gt;
&lt;li&gt;Safer and recommended for real projects&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>typescript</category>
      <category>webdev</category>
      <category>frontend</category>
    </item>
    <item>
      <title>React Overview</title>
      <dc:creator>Arthur</dc:creator>
      <pubDate>Thu, 14 May 2026 13:39:29 +0000</pubDate>
      <link>https://dev.to/witharthur/-react-overview-490o</link>
      <guid>https://dev.to/witharthur/-react-overview-490o</guid>
      <description>&lt;p&gt;React is a JavaScript library, not a framework.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A library is a tool you use when needed
&lt;/li&gt;
&lt;li&gt;A framework has rules and defines how you build your project
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;React is used for frontend development.&lt;br&gt;&lt;br&gt;
It helps build what users see in the browser.&lt;/p&gt;




&lt;h2&gt;
  
  
  Component Architecture
&lt;/h2&gt;

&lt;p&gt;React is based on component architecture.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Components are small parts of the interface
&lt;/li&gt;
&lt;li&gt;They can be reused many times
&lt;/li&gt;
&lt;li&gt;This makes code more organized and faster to develop
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  JavaScript Features in React
&lt;/h2&gt;

&lt;p&gt;React uses core JavaScript features.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;map&lt;/code&gt; is used to render lists
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;filter&lt;/code&gt; is used to work with data
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;this&lt;/code&gt; was used before, but is less common now
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;React works with modern JavaScript (ES6+).&lt;/p&gt;




&lt;h2&gt;
  
  
  Simpler Explanation
&lt;/h2&gt;

&lt;p&gt;React is a tool for building interfaces.&lt;br&gt;&lt;br&gt;
You create small reusable blocks (components) and combine them to build a page.&lt;br&gt;&lt;br&gt;
You stay in control, React just helps display everything efficiently.&lt;/p&gt;




&lt;h2&gt;
  
  
  Important Correction
&lt;/h2&gt;

&lt;p&gt;The idea that React is mainly based on &lt;code&gt;this&lt;/code&gt;, &lt;code&gt;map&lt;/code&gt;, and &lt;code&gt;filter&lt;/code&gt; is not fully accurate.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;map&lt;/code&gt; is widely used in React
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;filter&lt;/code&gt; depends on the situation
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;this&lt;/code&gt; is mostly outdated in modern React (hooks are used instead)
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>typescript</category>
      <category>web</category>
    </item>
    <item>
      <title>JavaScript Versions</title>
      <dc:creator>Arthur</dc:creator>
      <pubDate>Thu, 14 May 2026 13:38:21 +0000</pubDate>
      <link>https://dev.to/witharthur/javascript-versions-5haj</link>
      <guid>https://dev.to/witharthur/javascript-versions-5haj</guid>
      <description>&lt;p&gt;ES5 is an older version of JavaScript.&lt;/p&gt;

&lt;p&gt;It is a standard that defines how JavaScript works.&lt;/p&gt;




&lt;h2&gt;
  
  
  ES2015
&lt;/h2&gt;

&lt;p&gt;ES2015 is a newer version that improved ES5.&lt;/p&gt;

&lt;p&gt;It added new features and made code easier to write and read.&lt;/p&gt;




&lt;h2&gt;
  
  
  TypeScript
&lt;/h2&gt;

&lt;p&gt;TypeScript is a version of JavaScript with extra features.&lt;/p&gt;

&lt;p&gt;It adds type checking to help avoid mistakes.&lt;/p&gt;

&lt;p&gt;TypeScript code is converted into normal JavaScript so browsers can understand it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Transpiler
&lt;/h2&gt;

&lt;p&gt;A transpiler is a tool that converts new code into older JavaScript.&lt;/p&gt;

&lt;p&gt;This is needed because not all browsers support the newest features.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Babel is a popular transpiler&lt;/li&gt;
&lt;li&gt;TypeScript also works as a transpiler&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Simple Idea
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;ES5 is old JavaScript
&lt;/li&gt;
&lt;li&gt;ES2015 is improved JavaScript
&lt;/li&gt;
&lt;li&gt;TypeScript is safer JavaScript
&lt;/li&gt;
&lt;li&gt;Transpiler converts modern code into browser-compatible code
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>es5</category>
      <category>es2015</category>
      <category>typescript</category>
    </item>
    <item>
      <title>All world is down! Time to get out and speak with Family Members 😅</title>
      <dc:creator>Arthur</dc:creator>
      <pubDate>Wed, 19 Nov 2025 13:13:10 +0000</pubDate>
      <link>https://dev.to/witharthur/all-world-is-down-time-to-get-out-and-speak-with-family-members-4f6d</link>
      <guid>https://dev.to/witharthur/all-world-is-down-time-to-get-out-and-speak-with-family-members-4f6d</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fva0hjy4yb5qzf3ukmgwk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fva0hjy4yb5qzf3ukmgwk.jpg" alt=" " width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

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