ESSENTIAL JS APIS & ELEMENTS
INTERSECTION OBSERVER https://bit.ly/2n03ejx
Fire a callback whenever an element enters and exits a certain area. Best for lazy loading or infinite scroll effects.
REPORTING OBSERVER https://bit.ly/2ot017n
Get notified when the browser has to intervene, for example having to provide a fallback for a slow-loading font.
OFFSCREENCANVAS https://developers.google.com/web/ updates/2018/08/offscreen-canvas
Drawing to a <canvas> is an expensive task for a browser. This new API can render without hitting the DOM.
INTERNATIONALISATION API https://mzl.la/1dsihlk
Avoid sending heavy libraries and show dates, numbers and strings in a format that makes sense in the user’s location.
CSS PAINT API https://bit.ly/2icgl1p