Interesting links that I found - vol. 1
This is the first of my series about things that I found on the internet this week.
Coding
-
When to useMemo and useCallback. This is old piece by Kent but I’ve got it in his weekly newsletter. Reading through examples requires some work but I’ve got this phrase: Do not bother with optimization unnecessary. To be honest (maybe) I’m lucky but I don’t yet need to use
useMemo
oruseCallback
. -
I’ve read two pieces about HTML numeric inputs: Why the GOV.UK Design System team changed the input type for numbers & HTML attributes to improve your users’ two factor authentication experience and I’ve learned about
inputmode="numeric"
. I’ve to try it at work where we usetype="tel"
for better postal code experience on mobile. -
I learned that you can have CSS Grid inside your buttons too!. I’ve made a quick codepen example. Source.
Other
- Interesting piece on how to work from home & about asynchronous communication