Remix.run Logo
sensanaty 7 hours ago

If after nearly a decade swarms of people are still making the exact same mistakes with how they use a specific method exposed by the library, then the problem isn't with the hundreds/thousands of people making the mistake, the design of the method is broken. This type of issue simply does not exist in Vue or Svelte even if people abuse watchers (which I've anecdotally noticed tends to happen from React devs writing Vue code).

Also I just want to point out again that Dan Abramov had to write an insanely long guide to using useEffect [1]. This piece is around 10k words explaining in-depth how useEffect works. That is insane for one of the fundamental, core methods exposed by a library.

[1] https://overreacted.io/a-complete-guide-to-useeffect/

26 minutes ago | parent | next [-]
[deleted]
gloosx 3 hours ago | parent | prev | next [-]

You know for thousands of years people are still stepping on rake, the spikey part. And they get hit in their foreheads. The rake is lever by design, but I wouldn't say the problem is the rake.

recursive 6 minutes ago | parent [-]

I've spent more hours using rakes than `useEffect()`, but I've only had the problem with one of them.

6 hours ago | parent | prev [-]
[deleted]