Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
Improving React Interaction Times by 4x (causal.app)
9 points by refrigerator on Feb 21, 2023 | hide | past | favorite | 1 comment


This entire article is an example of the largest pain point when working with React. So much of the work done here simply can't be done without various hacks around `useEffect`, `useMemo`, or `useCallback` (manual memoization). I feel to this point that even with the new React beta docs explaining the use cases for `useEffect`, it still causes an immense amount of pain in some situations.

It's not immediately clear when writing code that uses `useEffect`, when it's a very bad idea long term for performance or code clarity. This often shows itself when the test data is very minimal and then the real data is far more expansive.

I still love React, but these complex scenarios definitely show some of the limitations in React's rendering model that other frameworks like Vue, Svelte, and SolidJS resolve.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: