|
|
|
|
|
by Sxubas
276 days ago
|
|
Not ultra experienced with react, but I have shot myself in the foot just because the way react is made compared to other frameworks: - infinite loop due to re-rendering on the render function (it happens every single time i come back to react)
- using useEffect when not required
- nested object updates (dunno if this is still an issue)
- class vs whatever the name is (className?) Overall as another comment said I feel more fighting against react pitfalls than focusing on my application's logic. That really takes a toll in productivity as part of your brain loses a small portion of 'RAM'/cognitive load as you need to make an active effort to not shoot yourself in the foot. I guess most people get used to it, but for me it just never clicks knowing there are similarly performant frameworks with way more friendly APIs. |
|