Interesting links that I found - vol. 1
This is the first of my series about things that I found on the internet this week.
- 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
- 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 use
type="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.