Passing data from a child component to a parent component in React (2020)

February 17, 2020 Goodman

In React, passing data from a parent component into a child component is quite easy with “props”. On the other hand, passing data from a child component to a parent component is a little more complicated…

How to use react-ga to track your React website traffic (2020)

February 5, 2020 Goodman

This tutorial shows you how to track your React app (or website) traffic with Google Analytics. Prerequisites A Google Analytics account Basic React knowledge Installation Code Create a file and call it MyGa.js: Usage Simple way:…

How to use Font Awesome icons in React (2020)

January 28, 2020 Goodman

This article will show you how to use Font Awesome icons in a React app. Firstly, let’s install the necessary packages. Next, import the icons you need into your React component. Note that if an icon…