Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.
Page 2 of 26
π₯ Use Intl.PluralRules() to easily find the ordinal for numbers - 1st, 2nd, 3rd, 4th...
π₯ Use Intl.DateTimeFormat() to create nicely formatted date and time strings
π₯ Use Intl.RelativeTimeFormat() to get nicely formatted relative time strings.
π₯ Object.fromEntries() is a new method for converting Arrays, maps or other iterables into objects
π₯ Use CSS Variables to do partial property overwrites. Handy for CSS properties that only accept multiple values.
π₯ If you have a pesky 301 redirect that won't clear, open dev tools and load the page with the "disable cache"
Log this in your head for later, you'll need it like I just did π
π₯ Close multiple tabs in Firefox and Chrome by holding down Shift to select them, and then β+W to close
π₯ Where is this repo on github? Find the corresponding git{hub,lab} repo to a folder with git remote -v
{hub,lab}
git remote -v
π₯
π₯Just learned about Intl.ListFormat from @mathias.