222 private links
A playlist of rust video about rust.
🎯
Tout abus d'@YLeBolloch peut nuire gravement à la santé d'une machine à propagande, même bien huilée.
On remarque les journalistes qui veulent tous le temps pousser à la phrase de trop au lieu d'avoir une clarté dans le discors. L'interviewé impose son rythme, c'est remarquable.
If you have some notes, you can have a melody
La prouesse technique d'avoir du Wifi à bord des TGV, et pourquoi c'est si compliqué !
Good points! I have use cases where a frontend database approach will work perfectly!
Numbers:
const formatter = Intl.NumberFormat(LOCALE, { notation: 'compact' })
Currency:
Intl.NumberFormat(LOCALE, {
notation: 'compact',
style: 'currency',
currency: 'ZWD'
})
- Extraction: make the nested code a function or its own piece of logic.
- Inversion: use guards to remove nested code. These guards will stop the function before the end of the function body. They act as gates.
La vidéo appuyé par Elon Musk n'a donc pas été tournée proche d'un aéroport, comme il le prétend
TL;DR $attrs defines every attribute that is not listed in the props.
Use cases:
- apply $attrs on a specific node
- tell Vue to apply $attrs on a node of a multiple root-node components
- using prop validations (in dev only for example)
Ils sont magnifiques et c'est si beau
Ducks and drum kit
Macron disant que c'est hypocrite de décaler l'âge de la retrait. C'était il y a peu années.
computedEager utility has optimizations over computed in some cases.
when you have a simple operation, with a rarely changing return value – often a boolean.
Stick to computed
when you have a complex calculation going on, which can actually profit from caching and lazy evaluation and should only be (re-)calculated if really necessary.
display: contents
is underrated: it removes the box layout of the element!
grid-row or grid-column only works on explicit layout: workaround at 18:55
TL;DR;
apply every hover effect on devices that can not support the hover effect (smartphones, ...).
Use the @media (hover: hover)
media query to target devices that have the :hover
effect available, or @media (hover: none)
.
CSS variables that provoke invalid CSS declarations (for example --foo: ;
) are set to unset
.
Space toggle for numerical value: calc(1.5 var(--toggle-value, - .4))
with toggle value:
:root {
--ON: initial
--OFF: ;
}
Use variables for pure data, not CSS values as CSS values are often bound with a unit.
Relative values inherit as syntax tokens unless the property is registered. Registering a property as
Optimizes .mp4, .web and .gif
100% client-side
- Think about the
:empty
selector, especially for message errors :) :target
to select the node targeted by an achor.:only-child
and:only-of-type
selectors
Using web browsers might seem inefficient, but they solve so many problems.
FasterThanLime describes how hard it is to build a text-messaging app from scratch if we want to develop it properly.