In Code Like A Girl. More on Medium.

Since its launch, Reach has changed the manner front-end developers go for building web apps. With virtual DOM, React makes UI updates as proficient as they can ever be, creating your web app snappier. But the matter to consider is why do moderately sized React web apps still incline to perform poorly?
Well, the hint is in how you’re using React!
For instance, a modern front-end library such as the React doesn’t make your app dramatically faster. It needs that developers should understand how the React operates and how the components live through the multiple stages of the component lifecycle.
…
I had lots of question marks in my head before I think about these things.

Creating apps and making ideas real has become a trend of programming these days. In that purpose, developers are willing to choose frameworks formed to develop cross-platform apps.
No doubt, React Native is among the most loved and gripped frameworks in that path, although there are some alternatives to React Native, such as Flutters, Ionic, and Cordova.

Hi, I’m people.
I recently built a really cool web application (hello Phoenix Project — web application launching *soon*)!
It is a Server-Side Rendered React(SSR) app that leverages the power of Razzle, a tool that gives you the configuration needed to create a SSR React.js Application. What’s great about Razzle is that it is well-documented with a community of technologists that are dedicated to the project’s upkeep.
Unfortunately, I couldn’t find any clear instructions on how to deploy my Razzle application to Google App Engine(GAE). I’m going to share some of my gotchas when deploying my app.

If you have worked with ReactJS for awhile, you have probably heard of the term High Order Component (HOC).
A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a pattern that emerges from React’s compositional nature.
In short, HOC is a function which returns a React Component. It can be used to share the same logic between components. You can find examples and tutorials in the official ReactJS website. Yet, there is no mention about working along with connected Components using Redux. …

I’m just learning React and so far I love it. It’s amazing to have more structured HTML code that can use Javascript! Through freeCodeCamp I was used to writing in JSX. On CodePen, I continued doing the same. To use JSX on CodePen, you flick the switch in settings to enable Babel in the JS window. So simple!
However what about in the “real” world? I started moving some projects off CodePen and onto GitHub (you can read how to do that here), and realised I had no idea how to render JSX on my own. During the export, CodePen…

Two things tripped me up when I tried using Font Awesome (FA)with React.
This was such a simple fix. So simple that it was hard to find online! It was very much a React newbie issue. I forgot React uses className instead of class.
Using a play icon as the example, the working code in React is:
<i className = 'fas fa-play'></i>
I wanted to display either a play or pause icon, depending on some simple logic. I was stumped when the icon would not update. It turns out this is a known bug with using FA with React. …

Often times I want to update a state, and then immediately use the updated state. Some examples I have come across to date are:
true and false and then using those values to trigger other eventsperformOperation)startTimer)However this.setState is asynchronous, as explained in the React documentation. (Actually the documentation says it ‘may be’ asynchronous. In my limited experience, it almost always is asynchronous.)
…
With ES6, we have been introduced with a special type of functions called generators. With generators, the functions can be paused in the middle multiple times and resumed later which allows other codes to run in between.
Inside the generator function, we use a special keyword called yield which is used to pause the function inside itself.
So, a generator function can be stopped and restarted as many times as we like.With normal functions, we get parameters in the beginning and a return statement in the end. …
Redux persist takes object from your Redux state and saves it to persisted storage.
Installation
npm install --save redux-persistIn my project, I will be using redux-thunk as a middleware for configuring the redux store in my app.
First, I am going to make two pages. First one will have a form which will have two fields — username and password and a submit button which will submit the form and navigate us to another page. In my application, I will be using react-native-router-flux for navigation.The routes are defined like this-
import React from ‘react’;import {Actions, Router, Scene…