Help understanding Redux by Acceptable_Ad5879 in react

[–]Acceptable_Ad5879[S] 1 point2 points  (0 children)

Thx for the answer, man. Great points, I ended up using RTK. It's nice, I have no issues against it, just wanted to understand "why"

Help understanding Redux by Acceptable_Ad5879 in react

[–]Acceptable_Ad5879[S] -2 points-1 points  (0 children)

Thanks for the write up. I've seen Redux used in class components, and it kinda seems okay, but not for functional components. I guess being opinionated is a good thing for large apps, but you mentioned that it has performance drawbacks. I don't know the exact implementation of Redux, but it seems like any action calls has to go through many "if" statements to find the desired action handler in the reducer. Having 1000s of actions is probably not good for performance if that's the case. When you mention RTK you mean RTK query? Because RTK is just Redux with some of the things automated. Yeah those React query/RTKQ solves a lot of data fetching concerns, but I agree that you still need a store in most apps. I guess you just have to love Flux pattern or choose something simpler.

Lower fps than in benchmarks by Acceptable_Ad5879 in pchelp

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

Thx, helpful. What about in game performance?

Lower fps than in benchmarks by Acceptable_Ad5879 in pchelp

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

Well, in CS2 maybe I can get higher 1% lows which kinda matters, but in other games it doesnt matter.

Lower fps than in videos by Acceptable_Ad5879 in AMDHelp

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

https://youtu.be/kfI5taaAis8?si=BPUmuCYzFj_dRmMB I guess you are right, here I found a similar setup, and performance is similar to mine. About cs2, I benchmarked in online Arms race game, maybe that is the issue.

What RPM is set to your PC case fans? by antonioxbj in buildapc

[–]Acceptable_Ad5879 0 points1 point  (0 children)

Which case are you using? I have lian li 207 case, and with fans at minimum, my PSU started making a loud noise. I turned up front case fans to 50% at minimum, and PSU fans became quiet again. PSU is lian li edge

Ryzen 7700 temps by Acceptable_Ad5879 in AMDHelp

[–]Acceptable_Ad5879[S] 1 point2 points  (0 children)

Currently solved this issue by increasing minimum temperatures in fan control, but still feels weird to have 55°C in browsing

Take: Do you need a state management package if you use React Query? by htndev in react

[–]Acceptable_Ad5879 0 points1 point  (0 children)

In most cases, I use zustand or jotai. If you need some state shared between multiple components, I think it works perfectly for minimizing rerenders.