Ohans Emmanuel

  Author, Understanding Redux. I Love God. I Love GF a little too much 💕🤣 http://thereduxjsbooks.com

   



12 Stories by Ohans Emmanuel

How is getSnapshotBeforeUpdate implemented with Hooks?

You may have wondered whether Hooks cover all the same use cases React classes handle. Well, the answer is no.
0 6 min read

You’re overusing useMemo: Rethinking Hooks memoization

In certain cases, useMemo is irrelevant, overused, and likely harmful to the performance of your application.
2 7 min read

useEffect vs. useLayoutEffect in plain, approachable language

Can you explain the differences between useEffect and useLayoutEffect to a five-year-old?
0 8 min read

Simplifying state initializers with React Hooks

Learn how to implement advanced React component patterns with Hooks, starting with the state initializer pattern.
2 6 min read

React Hooks cheat sheet: Unlock solutions to common problems

< section class=”e-content” data-field=”body”> While Hooks may have been the talk of the community for a while now, beyond the fuss, they do have...
5 5 min read

Practical React Hooks: How to refactor your app to use Hooks

A good number of people are excited about the addition of Hooks to React — I happen to be one of those people! Once you get...
3 15 min read

The (new) React lifecycle methods in plain, approachable language

What are lifecycle methods? How do the new React16+ lifecycle methods fit in? How can you intuitively understand what they are and why they...
4 13 min read

How to make any website faster

Introduction When I got introduced to programming, years ago, I was really excited about the endless opportunities I could embrace. As I developed sites...
1 18 min read

Death by a thousand cuts: A checklist for eliminating common React performance issues

A guide to eliminating common React performance issues.
0 8 min read

How browser rendering works — behind the scenes

The purpose of this article is to explain, in very simple terms, the steps your browser takes to convert HTML, CSS and JavaScript into...
9 13 min read

Data fetching in Redux apps: A 100% correct approach

Redux is a great tool that solves one of the main problems of UI frameworks: state management. State management on the client side can...
12 11 min read

Conquer navigation state with React-router and Redux

A fundamental component of traditional applications and single page applications alike is Navigation — being able to move from one page to another. Okay, and so...
0 12 min read