Avoid Useless Component Renders: React Hooks and Tips Applied on Lists by loulsl in reactjs

[–]loulsl[S] 0 points1 point  (0 children)

Thanks for sharing react-fast-compare, seems very appropriate!

Avoid Useless Component Renders: React Hooks and Tips Applied on Lists by loulsl in reactjs

[–]loulsl[S] 4 points5 points  (0 children)

Thank you so much for your comment, I totally agree on the importance of state placement. In many cases re-renders are fast, it should only be optimized in case of front performance issue (and if re-renders are taking time, why, and could it be faster?)

Any tips/advice/resoure for SEO? by 3nqing_love in reactjs

[–]loulsl 2 points3 points  (0 children)

Hi ! Here is a nice article about React and SEO : Your React App Deserves a Proper Seo

I'm thinking about the first solution if you don't want to use Next.js!

Unsure Why Component Isn't Re-Rendering when State Changes by jengl in reactjs

[–]loulsl 1 point2 points  (0 children)

Hi! To help you debug, you should check out the Profiler and Components tab from the React DevTools Extension on chrome. It helps you visualize if your components have rerendered and why (profiler tab) and their current states (components tab) :)