React

Why You Should be Using React Context More Often

under React

React Context can be more than just global state in an app. I like to think of Context as "encapsulated state".

React Error Boundaries

under React

React error boundaries allow you to prevent your React application from completely crashing in the event of an error in your code.

How to Fix "cannot update unmounted component" Warning with React Hooks

under React

Learn how to properly unmount React components when using React Hooks.

"Nothing was returned from render." ReactJS Error

under React

Let's take a look at how you can fix this common error in React.

"Rendered fewer hooks than expected." ReactJS error

under React

Learn how to fix the "Rendered fewer hooks than expected." error with React Hooks.

"Hooks can only be called inside the body of a function component" ReactJS Error

under React

Let's review the rules of React Hooks, and how you can fix the "Hooks can only be called inside the body of a function component." error.