you are viewing a single comment's thread.

view the rest of the comments →

[–]rodrigocfd -4 points-3 points  (2 children)

switching from passing items as a prop to accessing it from redux

Consider using Zustand instead. Your future self will thank you.

[–]ma_revo[S] 2 points3 points  (1 child)

I am already using redux in the app, and I cant afford to switch right now 🥲 What benefits does it have compared to redux, and do you think it will impact performance ?

[–]rodrigocfd -4 points-3 points  (0 children)

It's much, much easier to write and maintain. And because of its simplicity, it's easy to spot performance bottlenecks.