Peter Kröner on Nostr: Back to the world's worst #react project! I remain convinced that useEffect is the ...
Back to the world's worst #react project! I remain convinced that useEffect is the worst API for anything ever because nobody who is not a _giant_ nerd appears to be able to use it correctly. Sure, people should know their stuff, RTFM etc. but if the trash fires around useEffect _never_ stop burning, maaaaybe something is fundamentally wrong with the basic API design?
#webdev
Published at
2024-12-05 12:13:16 UTCEvent JSON
{
"id": "a55701cc2ac1f6462ec52c345d773aaddcc4ffb2fed9d482e0af7860539eb43b",
"pubkey": "7428de0b9fdbca1d85e11ba7078bd01d4b710a00f0a1a809a0b2d91fd53fc5b6",
"created_at": 1733400796,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@sir_pepe/113600154593823271",
"web"
],
[
"t",
"react"
],
[
"t",
"webdev"
],
[
"proxy",
"https://mastodon.social/users/sir_pepe/statuses/113600154593823271",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/sir_pepe/statuses/113600154593823271",
"pink.momostr"
],
[
"-"
]
],
"content": "Back to the world's worst #react project! I remain convinced that useEffect is the worst API for anything ever because nobody who is not a _giant_ nerd appears to be able to use it correctly. Sure, people should know their stuff, RTFM etc. but if the trash fires around useEffect _never_ stop burning, maaaaybe something is fundamentally wrong with the basic API design?\n\n#webdev",
"sig": "a3ee94376391078517d0bf1db9cc1034300157f7bd485aac629c6e3adba9ca7eeb317e2b232017103dbfbaa286076da8be7be56b96e4505dc47c26fb6c81a226"
}