<?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: Mimis161x</title>
    <description>The latest articles on DEV Community by Mimis161x (@mimis161x).</description>
    <link>https://dev.to/mimis161x</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%2F1368074%2F27b49e97-6e44-4b0e-8c5e-304b0785f51c.JPG</url>
      <title>DEV Community: Mimis161x</title>
      <link>https://dev.to/mimis161x</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mimis161x"/>
    <language>en</language>
    <item>
      <title>Having trouble with react component hooks...</title>
      <dc:creator>Mimis161x</dc:creator>
      <pubDate>Wed, 03 Apr 2024 16:09:19 +0000</pubDate>
      <link>https://dev.to/mimis161x/having-trouble-with-react-component-hooks-4ai4</link>
      <guid>https://dev.to/mimis161x/having-trouble-with-react-component-hooks-4ai4</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ms1nqsebrgsx97b06mr.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ms1nqsebrgsx97b06mr.JPG" alt="Image description" width="526" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqustxiwh3gs15r1zhnpp.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqustxiwh3gs15r1zhnpp.JPG" alt="Image description" width="316" height="77"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ok so, im trying to pass a function ( eseentialy they are jsx components, listmap or listasc) as  a prop to my component there, so that the fetch function either just displays the data or first sort the data and then display them on screen. &lt;/p&gt;

&lt;p&gt;The handlechange is being triggered from an Onchange event in a selector &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx17pzqlp0qxn775ytr89.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx17pzqlp0qxn775ytr89.JPG" alt="Image description" width="603" height="147"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So when i get into the site, in the console it logs the normal obj array and the sorted one, the first time i change the selector to ascending it displays the ascending order, and nothing works past that, its like the component doesnt rerender. Any help please? &lt;/p&gt;

</description>
      <category>react</category>
      <category>beginners</category>
      <category>useeffect</category>
      <category>usestate</category>
    </item>
    <item>
      <title>Just learned how to fetch api...</title>
      <dc:creator>Mimis161x</dc:creator>
      <pubDate>Wed, 20 Mar 2024 08:51:22 +0000</pubDate>
      <link>https://dev.to/mimis161x/just-learned-how-to-fetch-api-mic</link>
      <guid>https://dev.to/mimis161x/just-learned-how-to-fetch-api-mic</guid>
      <description>&lt;p&gt;Well it seems so weird to me not being able to store the object data in my code for further use (outside of the fetch scope/function etc.) &lt;/p&gt;

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