by 1attice · 3y ago · 0 comments
Idea: Build a map of things that are easily forgotten and treat it as a map of places where the API needs improvement. (Following ye olde Law of Least Surprise. Thanks, Larry Wall!)
Hooks help me avoid that pain. But is the API perfect? Nope.
Again, this isn't 'American Idol for frameworks'; I'm not picking React because I think it's the best, or even better. I'm picking React because of the habitat, and because that habitat is now, in a sense, my hometown.
I too have been coding in React for that long (precisely that long, oddly enough ;D) and I used `useEffect()` in pretty much everything I was doing.
There are reasons for this that are local to the project I was on for most of that time.
And yeah, I'm pretty sure my embarrassing confusion cost me the interview in question.
Coding is a lot like playing a musical instrument, or singing. Without daily practice, you get musty. You can scrape off the must in a matter of days or weeks, but in the meantime, you can be expected to bomb any audition.
This is why it's so good to have something on the go on GitHub. It's not about the star-count, it's about keeping your hand in.