Blogs tagged Best-Practices

Why you should avoid using state for computed properties

Understand why creating state variables for properties that can be computed is a bad idea, and how you can handle some edge cases when you need to derive your state from props.

#React #Best-Practices

Read more →

Why using object spread with reduce probably a bad idea

Explore why using object spread with .reduce() can sometimes significantly affect the performance of your JavaScript apps and libraries.

#JavaScript #Best-Practices

Read more →

When should you memoize in React

Explore why premature optimization can be bad in React and when should you actually use the memoization methods provided by React

#React #Best-Practices

Read more →

JavaScript tips for React Developers

Check out how you can write more efficient, maintainable and clean React code with these simple tips.

#Best-Practices #React #JavaScript

Read more →