<?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: charles Kamande</title>
    <description>The latest articles on DEV Community by charles Kamande (@ckamande).</description>
    <link>https://dev.to/ckamande</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%2F2721269%2F673d8327-2774-47d0-97f5-91d70a2ce18c.png</url>
      <title>DEV Community: charles Kamande</title>
      <link>https://dev.to/ckamande</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ckamande"/>
    <language>en</language>
    <item>
      <title>Fintech solution for Community Members</title>
      <dc:creator>charles Kamande</dc:creator>
      <pubDate>Tue, 03 Jun 2025 16:55:04 +0000</pubDate>
      <link>https://dev.to/ckamande/fintech-solution-for-community-members-59k8</link>
      <guid>https://dev.to/ckamande/fintech-solution-for-community-members-59k8</guid>
      <description>&lt;p&gt;Using CRUD, JS Python and Flask i need to make a simple application for a fintech. A product usable for the Community where members do table banking tracking transactions done by members. Anyone with ideas.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Basics to React and Rendering Components</title>
      <dc:creator>charles Kamande</dc:creator>
      <pubDate>Wed, 19 Feb 2025 13:58:35 +0000</pubDate>
      <link>https://dev.to/ckamande/basics-to-react-and-rendering-components-a23</link>
      <guid>https://dev.to/ckamande/basics-to-react-and-rendering-components-a23</guid>
      <description>&lt;p&gt;React is a JavaScript library used for building dynamic user interfaces, primarily for web applications. It enables developers to create reusable UI components and efficiently update the DOM using a virtual DOM mechanism.&lt;/p&gt;

&lt;p&gt;Rendering Components on the DOM&lt;br&gt;
To render a React component on the DOM, follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Import React and ReactDOM:
(in jsx file)
import React from "react";
import ReactDOM from "react-dom";&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a Component:&lt;br&gt;
This is how you create a simple Component in jsx:&lt;/p&gt;

&lt;p&gt;function App() {&lt;br&gt;
      return &lt;/p&gt;
&lt;h1&gt;Hello, React!&lt;/h1&gt;;
   }&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To render the above Component to the DOM do the below:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;ReactDOM.createRoot(document.getElementById("root")).render();&lt;/p&gt;

&lt;p&gt;Note this ensures the App component is rendered inside the &lt;/p&gt; in the HTML file.

&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React Documentation: &lt;a href="https://react.dev" rel="noopener noreferrer"&gt;https://react.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;MDN Web Docs: &lt;a href="https://d" rel="noopener noreferrer"&gt;https://d&lt;/a&gt;
eveloper.mozilla.org/&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Mastering JavaScript Key Concepts as a beginner</title>
      <dc:creator>charles Kamande</dc:creator>
      <pubDate>Sat, 18 Jan 2025 05:36:04 +0000</pubDate>
      <link>https://dev.to/ckamande/mastering-javascript-key-concepts-as-a-beginner-30d7</link>
      <guid>https://dev.to/ckamande/mastering-javascript-key-concepts-as-a-beginner-30d7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Mastering JavaScript Key Concepts: The 3 Pillars of JavaScript&lt;/strong&gt;&lt;br&gt;
For beginners seeking to grasp JavaScript's core concepts quickly, focusing on its 3 Key Pillars—Prototypes, Closures, and the Event Loop—is essential. These concepts form the backbone of JavaScript's functionality and behavior.&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;Prototypes
Prototypes enable object inheritance, allowing properties and methods to be shared among objects, minimizing redundancy.
Example:
javascript
CopyEdit
function Person(name) {
this.name = name;
}&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Person.prototype.greet = function () {&lt;br&gt;
  console.log(&lt;code&gt;Hello, my name is ${this.name}&lt;/code&gt;);&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;const john = new Person("John");&lt;br&gt;
john.greet(); // Output: Hello, my name is John&lt;br&gt;
In this example, the greet method is attached to the Person prototype, so it is shared by all instances of Person.&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;Closures
A closure is formed when a function "remembers" its surrounding lexical scope, even after the parent function has finished executing.
Example:
javascript
CopyEdit
function createCounter() {
let count = 0; // Variable retained in closure
return function () {
count++;
return count;
};
}&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;const counter = createCounter();&lt;br&gt;
console.log(counter()); // Output: 1&lt;br&gt;
console.log(counter()); // Output: 2&lt;br&gt;
Here, the inner function retains access to the count variable, demonstrating how closures work.&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;Event Loop
The event loop ensures that JavaScript remains non-blocking by managing asynchronous operations like setTimeout or fetch.
Example:
javascript
CopyEdit
console.log("Start");&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;setTimeout(() =&amp;gt; {&lt;br&gt;
  console.log("Async Operation");&lt;br&gt;
}, 1000);&lt;/p&gt;

&lt;p&gt;console.log("End");&lt;br&gt;
// Output:&lt;br&gt;
// Start&lt;br&gt;
// End&lt;br&gt;
// Async Operation (after 1 second)&lt;br&gt;
In this example, the event loop schedules the setTimeout callback to execute after other synchronous code, ensuring smooth execution.&lt;/p&gt;




&lt;p&gt;Why These Concepts Matter&lt;br&gt;
By mastering prototypes, closures, and the event loop, you'll build a solid foundation for understanding JavaScript's object-oriented structure, functional programming features, and asynchronous behavior&lt;/p&gt;

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