<?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: Nipuna Weerasekara</title>
    <description>The latest articles on DEV Community by Nipuna Weerasekara (@niweera).</description>
    <link>https://dev.to/niweera</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%2F172658%2Ff577daf3-859c-41de-b798-7c72ef79d7bf.jpg</url>
      <title>DEV Community: Nipuna Weerasekara</title>
      <link>https://dev.to/niweera</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/niweera"/>
    <language>en</language>
    <item>
      <title>I am glad that I am old enough to have used the componentWillReceiveProps and young enough to be using useEffect.</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Fri, 05 Jun 2020 07:50:37 +0000</pubDate>
      <link>https://dev.to/niweera/i-am-glad-that-i-am-old-enough-to-have-used-the-componentwillreceiveprops-and-young-enough-to-be-using-useeffect-502e</link>
      <guid>https://dev.to/niweera/i-am-glad-that-i-am-old-enough-to-have-used-the-componentwillreceiveprops-and-young-enough-to-be-using-useeffect-502e</guid>
      <description>&lt;p&gt;Any thoughts?&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>MongoDB, Express, NodeJS template with Passport authentication</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Fri, 27 Mar 2020 03:09:32 +0000</pubDate>
      <link>https://dev.to/niweera/mongodb-express-nodejs-template-with-passport-authentication-mmo</link>
      <guid>https://dev.to/niweera/mongodb-express-nodejs-template-with-passport-authentication-mmo</guid>
      <description>&lt;p&gt;I always wanted a swift way to create an API back-end with fewer steps. So I helped myself. I created a template with Mongoose, Express, NodeJS, Passport JWT authentication with @Hapi/Joi validation. It uses PM2 to run the server. Feel free to take look. (The whole project is modularized to directories.)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Niweera/men-pp-template"&gt;https://github.com/Niweera/men-pp-template&lt;/a&gt; &lt;br&gt;
&lt;a href="https://github.com/Niweera/men-pp-template/blob/master/README.md"&gt;[ReadMe]&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>mongodb</category>
      <category>node</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Finally completed #25DaysOfServerless challenge six w/ @GCPcloud Scheduler API. </title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Thu, 12 Dec 2019 13:30:24 +0000</pubDate>
      <link>https://dev.to/niweera/finally-completed-25daysofserverless-challenge-six-w-gcpcloud-scheduler-api-26po</link>
      <guid>https://dev.to/niweera/finally-completed-25daysofserverless-challenge-six-w-gcpcloud-scheduler-api-26po</guid>
      <description>&lt;p&gt;Completed challenge six with &lt;strong&gt;Google Cloud Scheduler API&lt;/strong&gt; and &lt;strong&gt;Google Cloud Functions for Firebase&lt;/strong&gt;. &lt;br&gt;
Check out: &lt;a href="https://t.co/hRRN2hKy5g"&gt;https://t.co/hRRN2hKy5g&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ps: It would've been nice if GCP provided &lt;em&gt;Stateful Serverless&lt;/em&gt; and &lt;em&gt;Durable Functions&lt;/em&gt; as part of their services. &lt;/p&gt;

</description>
      <category>serverless</category>
      <category>25daysofserverless</category>
      <category>webdev</category>
      <category>node</category>
    </item>
    <item>
      <title>Finally, #25DaysOfServerless challenge four completed. w/ Google Firebase (...of course) </title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Mon, 09 Dec 2019 13:06:51 +0000</pubDate>
      <link>https://dev.to/niweera/finally-25daysofserverless-challenge-four-completed-w-google-firebase-of-course-1ej2</link>
      <guid>https://dev.to/niweera/finally-25daysofserverless-challenge-four-completed-w-google-firebase-of-course-1ej2</guid>
      <description>&lt;p&gt;Wanna see how to complete the #25DaysOfServerless challenge four with @google @firebase functions?&lt;br&gt;
Check out &lt;a href="https://t.co/RAaGJZvBJu"&gt;https://t.co/RAaGJZvBJu&lt;/a&gt;&lt;/p&gt;

</description>
      <category>25daysofserverless</category>
      <category>serverless</category>
      <category>javascript</category>
    </item>
    <item>
      <title>25 Days Of Serverless w/ GCP</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Sun, 08 Dec 2019 12:44:03 +0000</pubDate>
      <link>https://dev.to/niweera/25-days-of-serverless-w-gcp-28fi</link>
      <guid>https://dev.to/niweera/25-days-of-serverless-w-gcp-28fi</guid>
      <description>&lt;p&gt;Wanna see how to complete the #25DaysOfServerless challenge with @googlecloud?&lt;br&gt;
Check out &lt;a href="https://t.co/50aQvdKeNs"&gt;https://t.co/50aQvdKeNs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>25daysofserverless</category>
      <category>serverless</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Who received Hacktoberfest swag emails?</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Wed, 23 Oct 2019 14:04:12 +0000</pubDate>
      <link>https://dev.to/niweera/who-received-hacktoberfest-swag-emails-3nh0</link>
      <guid>https://dev.to/niweera/who-received-hacktoberfest-swag-emails-3nh0</guid>
      <description>&lt;p&gt;Comment...&lt;br&gt;
🤩🤩🤩&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>What are the secret tips and tricks you know about using Firestore?</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Mon, 21 Oct 2019 02:19:53 +0000</pubDate>
      <link>https://dev.to/niweera/what-are-the-secret-tips-and-tricks-you-know-about-using-firestore-183k</link>
      <guid>https://dev.to/niweera/what-are-the-secret-tips-and-tricks-you-know-about-using-firestore-183k</guid>
      <description>&lt;p&gt;I've been using &lt;code&gt;Firebase&lt;/code&gt; &lt;code&gt;Firestore&lt;/code&gt; for a project for some time now. I would really like to know all of your secrets. Please share them in the comments...&lt;br&gt;
Peace.  &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>firebase</category>
    </item>
    <item>
      <title>Let's upload images from ReactJS app to Firebase Storage easily... 😉</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Wed, 18 Sep 2019 13:10:43 +0000</pubDate>
      <link>https://dev.to/niweera/let-s-upload-images-from-reactjs-app-to-firebase-storage-easily-4o4h</link>
      <guid>https://dev.to/niweera/let-s-upload-images-from-reactjs-app-to-firebase-storage-easily-4o4h</guid>
      <description>&lt;p&gt;For a while I have been searching for a good article on uploading images to the &lt;code&gt;Firebase Storage&lt;/code&gt; via a &lt;code&gt;ReactJS&lt;/code&gt; app with &lt;code&gt;Redux&lt;/code&gt;. Unfortunate me, I have not found any understandable reference with clear, sure shot, straightforward answers. All of them wee pointing somewhere else. Therefore, I created my own tutorial just going through the Firebase documents. Hope you will find it helpful. &lt;/p&gt;

&lt;p&gt;The basic idea is that we first upload the image to the Firebase storage and then we save the URL of the image to a Firestore collection for later retrieval. It as simple as that.&lt;/p&gt;

&lt;p&gt;The tutorial I wrote is on my GitHub repo's readme file.&lt;/p&gt;

&lt;p&gt;Please find it from &lt;a href="https://github.com/Niweera/fsuptutorial"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you find it helpful, please don't forget to share it with others and hit a star and it will just makes me happy... 🙃🙃🙃&lt;/p&gt;

&lt;p&gt;If you find any issues or have any questions please send me a message and I'll try my best to answer it. &lt;/p&gt;

&lt;p&gt;Until next time, Peace... &lt;br&gt;
😁😁😁&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>redux</category>
      <category>webdev</category>
    </item>
    <item>
      <title>React 17.0 is going to be awesome...</title>
      <dc:creator>Nipuna Weerasekara</dc:creator>
      <pubDate>Mon, 02 Sep 2019 07:15:26 +0000</pubDate>
      <link>https://dev.to/niweera/react-17-0-is-going-to-be-awesome-5fij</link>
      <guid>https://dev.to/niweera/react-17-0-is-going-to-be-awesome-5fij</guid>
      <description>&lt;p&gt;Everyone know that in React 17 most of the depracated since &lt;code&gt;16.3&lt;/code&gt; update and now they want us to rename the old lifecycles as UNSAFE_ and only they will work in &lt;code&gt;17.x&lt;/code&gt; React update. Now as a developer and more comfortable with these deprecated lifecycle methods, I am struggling to migrate the existing &lt;code&gt;componentWillMount&lt;/code&gt;, &lt;code&gt;componentWillReceiveProps&lt;/code&gt;, &lt;code&gt;componentWillUpdate&lt;/code&gt; code to &lt;code&gt;static getDerivedStateFromProps&lt;/code&gt; and &lt;code&gt;componentDidUpdate&lt;/code&gt;. It would be awesome, if someone from this DEV community to provide us some guidelines to how to migrate with some examples. For an instance, if someone can provide us an example of how to migrate user profile edit which is coded using &lt;code&gt;componentWillReceiveProps&lt;/code&gt; to newer lifecycle methods, that would be a great help.&lt;br&gt;
Thanks in advance...&lt;/p&gt;

</description>
      <category>react</category>
    </item>
  </channel>
</rss>
