<?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: Alexios Grigoriadis</title>
    <description>The latest articles on DEV Community by Alexios Grigoriadis (@alexiosgrig).</description>
    <link>https://dev.to/alexiosgrig</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%2F791470%2F89190f9e-d104-4fbb-acbd-abd7985b41fa.png</url>
      <title>DEV Community: Alexios Grigoriadis</title>
      <link>https://dev.to/alexiosgrig</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alexiosgrig"/>
    <language>en</language>
    <item>
      <title>How to import a function from a functional component to another functional component</title>
      <dc:creator>Alexios Grigoriadis</dc:creator>
      <pubDate>Wed, 12 Jan 2022 15:33:22 +0000</pubDate>
      <link>https://dev.to/alexiosgrig/how-to-import-a-function-from-a-functional-component-to-another-functional-component-1k5a</link>
      <guid>https://dev.to/alexiosgrig/how-to-import-a-function-from-a-functional-component-to-another-functional-component-1k5a</guid>
      <description>&lt;p&gt;To make it clear... I have a submit button and when the user hits it i want to execute some functions that fetch some date and display some results. I can create those functions inside one component but it will be so big and i want to avoid that. So how can i write those functions on a separate js file and import them on the component that calls them ?&lt;/p&gt;

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