#328 Why hooks are the best thing to happen to React
React 18 is coming with several new concurrent features—including startTransition. Let’s break down how it works and what you can do with it! Read on.
this week's favorite
Originally, React mainly used class components, which can be strenuous at times as you always had to switch between classes, higher-order components, and render props. With React hooks, you can now do all these without switching, using functional components.
These are four common mistakes in React interviews. Sometimes the pressure of the interview makes us make silly mistakes. Hopefully reviewing this post will help before your next interview.
How do you guys update your state if it depends on the previous value?
I have often seen one common mistakes being made by some beginner React devs which is to update React state.