Owen Conti

Category: React

Why You Should be Using React Context More Often

Posted on under React by Owen Conti.

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

React Error Boundaries

Posted on under React by Owen Conti.

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

Posted on under React by Owen Conti.

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

"Nothing was returned from render." ReactJS Error

Posted on under React by Owen Conti.

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

"Rendered fewer hooks than expected." ReactJS error

Posted on under React by Owen Conti.

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

Posted on under React by Owen Conti.

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.