@leeerob@nextjs@vercel There is a issue that I am fight with [i18n] locale routing is broken on /{locale}/[param] if param is a locale. https://t.co/v3BkUxDb53
URLs are the best, and your default mindset should be to mutate them when users interact with your UI.
Supporting example: YouTube. If you click on a video from the "Popular" list, start watching, then press back, you'll be back on "Latest", which is pure agony.
Actual web development isn't solving stressful timed job interview challenges.
It's feeling like an idiot while wasting the first two hours of your day on an awkward tooltip bug...when it all worked just fine yesterday.
Tip: When naming a variable that stores a list, avoid needless suffixes.
Avoid:
🚫userData
🚫userList
🚫userArray
🚫userItems
Instead, keep it simple. Just use a plural noun:
✅users
We never use the term "React developer" in my new React course. You'll do much better if you see React (and any other JS library/framework) as just "other people's JavaScript code", not a black box that you learn how to use.