4 ms·
Exactly what are you using in React land that has lasted for 6-7 years. No components to hooks transition? No styling library changes? No state management chang
by megaman821 8mo ago
Exactly what are you using in React land that has lasted for 6-7 years. No components to hooks transition? No styling library changes? No state management changes? No meta framework changes? The React ecosystem is the least stable thing I have ever worked with.
- nayroclade 8mo agoHooks were introduced in 2019. so, seven years ago.
- megaman821 8mo agoEven only looking at React provided hooks, they added a lot over years and best practices around things like useEffect have changed a lot. If you have a complex app from 2019 that you haven't updated, it is virtually guaranteed that it has memory leaks and bugs.
- c-hendricks 8mo agoI don't really agree that "best practices around useEffect have changed a lot". It's more that that particular hook was used a lot when it didn't need to be so the team finally wrote some guidelines.
- zackify 8mo agoyeah same... i have always tried to useState and minimal effects, those have not really changed in 7 years