Ohans Emmanuel

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

   



16 Stories by Ohans Emmanuel

React Reference Guide: Hooks API

Our all-in-one reference guide for basic and advanced React Hooks, with suggestions for further reading.
0 20 min read

Refactoring a Redux app to use Recoil

Get hands-on with Facebook's nascent Recoil library by refactoring a Redux app and comparing their differences in implementation.
0 7 min read

Simple state management with Facebook’s new Recoil library

Recoil is no Redux yet, but it just may get there.
8 5 min read

How to get previous props/state with React Hooks

Learn how to access previous props or states from within functional components when working with React Hooks in this simple tutorial.
9 4 min read

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.
8 7 min read

useEffect vs. useLayoutEffect in plain, approachable language

Can you explain the differences between useEffect and useLayoutEffect to a five-year-old?
1 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.
3 6 min read

React Hooks cheat sheet: Unlock solutions to common problems

While Hooks may have been the talk of the community for a while now, beyond the fuss, they do have a very simple API....
7 13 min read

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

Introduction A good number of people are excited about the addition of Hooks to React — I happen to be one of those people!...
4 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...
5 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