<?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: Shadow</title>
    <description>The latest articles on DEV Community by Shadow (@shadow_14d29c92635eef8efd).</description>
    <link>https://dev.to/shadow_14d29c92635eef8efd</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%2F3304532%2F2b2e7631-d981-46bd-9d69-808a6566ff82.jpg</url>
      <title>DEV Community: Shadow</title>
      <link>https://dev.to/shadow_14d29c92635eef8efd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shadow_14d29c92635eef8efd"/>
    <language>en</language>
    <item>
      <title>Understanding Components and Props in React.</title>
      <dc:creator>Shadow</dc:creator>
      <pubDate>Mon, 28 Jul 2025 20:45:00 +0000</pubDate>
      <link>https://dev.to/shadow_14d29c92635eef8efd/understanding-components-and-props-in-react-4jg</link>
      <guid>https://dev.to/shadow_14d29c92635eef8efd/understanding-components-and-props-in-react-4jg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My quest into React began with these two very special words: components and props. If you went to ask any expert in the field of software development, they would probably give you some scientific meaning of the two words that they learned, maybe from their university or an online lesson on a platform like YouTube. On the other hand, I decided to provide a straightforward explanation of these two terms. These are the definitions that I learned from my instructors at Moringa School &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Components&lt;/strong&gt;&lt;br&gt;
They are building blocks that make up a React app.&lt;br&gt;
They are useful as :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;They help developers split their apps into separate files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They help keep the code clean and easily maintainable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enable one to build apps from scratch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can be able to reuse parts of the app in different places.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can have  components such as ;&lt;/p&gt;

&lt;p&gt;1.&lt;code&gt;&amp;lt;Header/&amp;gt;&lt;/code&gt;&lt;br&gt;
2&lt;code&gt;. &amp;lt;Instruction/&amp;gt;&lt;/code&gt;&lt;br&gt;
3.&lt;code&gt;&amp;lt;Movie/&amp;gt;&lt;/code&gt;&lt;br&gt;
and so much more. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Props.&lt;/strong&gt;&lt;br&gt;
They are a short form of 'Properties'. These are messages that you pass into components. They enable one to customize the output. You can write one component, but you can use it in many different ways using props. An example is as such;&lt;/p&gt;

&lt;p&gt;1.&lt;code&gt;&amp;lt;Movie name='The Sandman'/&amp;gt;&lt;/code&gt;&lt;br&gt;
2&lt;code&gt;&amp;lt;Header Title='Learnig React/&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To simplify them even further, think of components as an ice cream truck, while props are a different flavour of ice cream.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I learned&lt;/strong&gt;&lt;br&gt;
I realized that when you make a component, you have to use knowledge based on JavaScript, and that you have to render it for it to function. For now, that is a different topic from the one that I am talking about, but to explain it briefly, rendering is showing something on the screen.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🐾**BUILDING A DOG APP: A BEGINNER'S JOURNEY INTO JAVASCRIPT AND REAL-API'S**🐾</title>
      <dc:creator>Shadow</dc:creator>
      <pubDate>Sun, 29 Jun 2025 03:33:32 +0000</pubDate>
      <link>https://dev.to/shadow_14d29c92635eef8efd/building-a-dog-app-a-beginners-journey-into-javascript-and-real-apis-2dhj</link>
      <guid>https://dev.to/shadow_14d29c92635eef8efd/building-a-dog-app-a-beginners-journey-into-javascript-and-real-apis-2dhj</guid>
      <description>&lt;p&gt;My journey all starts right after I finished high school. I've been drawn to how applications and websites are created, and it has piqued my interest. I therefore decided to join Moringa School in the Software  Development course. At the end of Phase 1, we were instructed to create a project that aligns with what we had learned in that phase. I decided to create a web application that enables users to view, search for, and adopt dogs available for adoption. This project has taught me to work with APIs, manipulate the DOM, and so much more.&lt;/p&gt;

&lt;p&gt;🐕🐕🐕&lt;strong&gt;What The App Does&lt;/strong&gt;🐕🐕🐕&lt;br&gt;
The Dog Adoption App allows users to :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;View a list of available dogs(with images and breed info).&lt;/li&gt;
&lt;li&gt;Search for dogs by breed.&lt;/li&gt;
&lt;li&gt;Submit a form to add a new adoptable dog.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I went and used HTML, CSS, and JavaScript, and then connected a local JSON server that mimics an actual API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Concepts that I learned&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Using JavaScript event listeners that trigger actions like searching for a breed and adding a new dog. An example is click events.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;fetch("&lt;a href="http://localhost:3000/dogs%22" rel="noopener noreferrer"&gt;http://localhost:3000/dogs"&lt;/a&gt;) By using this I understood how one gets to POST and GET data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I also learned that it's necessary to organize your functions in JavaScript and IDs in HTML, as they are crucial if  you want to reflect live data    &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Coding comes with frustration. There are times I felt that I could smash my Laptop or grind it up when you worked on a code all day and night then it still doesn't work. Luckily, I didn't give in to that; instead, I asked around for some help from some friends and classmates. You can be surprised by the amount of knowledge each has to contribute and understand that working together is key.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I've gained a massive respect towards people who do this and a great understanding that coding is not just wearing a hoodie in your parents' basement and then coding as if you are a pro, and later get rich. No, it's about understanding how each line of code contributes to an app and how each and every code is reliant on another.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I am looking forward to this journey and am really eager to learn new concepts that seem Greek to others and to better understand it. Happy Coding ❤️❤️❤️❤️&lt;/p&gt;

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