<?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: Keys87</title>
    <description>The latest articles on DEV Community by Keys87 (@keys87).</description>
    <link>https://dev.to/keys87</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%2F1207128%2F8322969f-2464-4c64-98bc-98665af5a54b.png</url>
      <title>DEV Community: Keys87</title>
      <link>https://dev.to/keys87</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/keys87"/>
    <language>en</language>
    <item>
      <title>Announcement</title>
      <dc:creator>Keys87</dc:creator>
      <pubDate>Thu, 16 Nov 2023 13:24:15 +0000</pubDate>
      <link>https://dev.to/keys87/announcement-2p</link>
      <guid>https://dev.to/keys87/announcement-2p</guid>
      <description>&lt;p&gt;Well, because I'm a student,school's first. My final test is getting near, so probably I won't post until the &lt;strong&gt;2nd week of December&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Stay tuned, this pause is temporary&lt;/p&gt;

&lt;p&gt;Ciao!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Journey of SkyPress-Pt 1: Review</title>
      <dc:creator>Keys87</dc:creator>
      <pubDate>Sat, 11 Nov 2023 08:20:31 +0000</pubDate>
      <link>https://dev.to/keys87/journey-of-skypress-pt-1-review-214o</link>
      <guid>https://dev.to/keys87/journey-of-skypress-pt-1-review-214o</guid>
      <description>&lt;p&gt;Hello, viewers! or I readers I suppose, I'm... uh, just call me Keys. I'm learning ReactJS and mastered the core front-end tech + PHP. Ok no more nonsense, let's start &lt;strong&gt;now&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this part, we aren't going to see any code or are we? 'Cause this is my present self which'll be my past self. Ok for real, let's start now&lt;/p&gt;

&lt;p&gt;So why am I doing a review? Why not get into code now? What even is SkyPress?!&lt;/p&gt;

&lt;p&gt;answers, from the first to last question: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Because I want all of you to understand what I've been building prior to this post &lt;/li&gt;
&lt;li&gt;I feel I need to do a review&lt;/li&gt;
&lt;li&gt;It's like wordpress but not quite. It's more like a GUI to make a HTML page, with styles, and &lt;strong&gt;probably&lt;/strong&gt; JS&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I already build the landing page and now building the heaviest part, the designer using react. Problems come(as they often do)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;React won't display anything, solved by wrapping JSX in the return statement(yes, I'm sloppy)&lt;/li&gt;
&lt;li&gt;React don't display anything in a component, if you are intrigued by this consider checking my stackoverflow question where I explain this problem in depth, not yet solved&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OH GOD! I AM SO SLOPPY! I FOUND IT, THE ANSWER TO NUMBER 2!&lt;/p&gt;

&lt;p&gt;I forgot to pass a prop in react&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button type='button' className={'bg-primary text-white p-2 m-1 rounded'+extraClasses}&amp;gt;{content}&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;See that content props there? I forgot to pass it as a attribute in the JSX, and now I know that we also could do this&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;Btn&amp;gt;Hello&amp;lt;/Btn&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;rather than this&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;Btn content='Hello'&amp;gt;&amp;lt;/Btn&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The former could be done by passing the children props to the element declaration&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const Btn = ({children}) =&amp;gt; {
  return (
    &amp;lt;button type='button'&amp;gt;{children}&amp;lt;/button&amp;gt;
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and just pass the text in between the angled brackets like good 'ol HTML&lt;/p&gt;

&lt;p&gt;anyways I must prepare for my math course and start to work on my language project &lt;/p&gt;

&lt;p&gt;Ciao!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>react</category>
    </item>
  </channel>
</rss>
