Red flag in a React codebase 🚩 Redux

Red flags in a React codebase 🚩 functions named handleClick,handleSubmit 🚩 preventDefault 🚩 useMemo 🚩 fetch inside useEffect 🚩 <div onClick/> 🚩 a "hooks" directory 🚩 css files 🚩 icon library in package.json



nah, redux is fine, its good enough


nah not good for performance when you have better options


whats the problem with RTK performance? tbh want to know your POV on this. and the alternatives you mentioned too.


in most cases react query is enough. when you feel the need for a state management library, it usually means your app has highly interactive and interconnected states. at that point it’s better to use something with less boilerplate and fine grain updates like Legend State


Stream, call, game, and work in even the most remote locations. Order online in minutes


United States Xu hướng
Loading...

Something went wrong.


Something went wrong.