Whats New in Web Development

Published: April 24, 2019, 1 p.m.

b'

In this episode of Syntax, Scott and Wes talk about what\\u2019s new in web development: new promise static methods, new CSS functions, PWAs and more!

Sentry - Sponsor

If you want to know what\\u2019s happening with your errors, track them with\\xa0Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting\\xa0Sentry.io\\xa0and using the coupon code \\u201ctastytreat\\u201d.

Clubhouse - Sponsor

Clubhouse is the first project management software that brings everyone together so that teams can focus on what matters: creating products that customers love. Clubhouse provides a perfect balance of simplicity and structure for better cross-functional collaboration. Check out\\xa0https://clubhouse.io/syntaxpodcast\\xa0and get your first two months free.

Show Notes

5:38 - New Promise static methods

  • Promise.all
  • Promise.race()
  • Promise.allSettled()
  • Promise.any()

10:16 - Lazy loading images

14:25 CSS Houdini aka JS in CSS

20:32 - Subgrid

24:31 - Native modules in browser

  • type="module"
  • dynamic\\xa0import()

27:08 - Node Native Modules update

29:17 - PWA install app and Google PlayStore

  • Already shipped in Chrome
  • Java API that communicates through services with Chrome
  • Trusted Web Activity aka TWA
  • All content in TWAs must comply with Play store policy including policies for payments in-app purchases and other digital goods
  • Already existing TWAs include Twitter Lite, Google Maps Go, Instagram Lite
  • Passing the PWA Criteria
  • Performance Score with a minimum of 80/100, tested with\\xa0Lighthouse
  • All current Google Play Store rules

35:49 - CSS Scroll Snap

  • In many browsers already
  • scroll-padding

38:17 - Aspect Ratio Unit

39:32 - CSS nesting

  • Disallows cross-domain cookies unless on the same domain/subdomain

Links

\\xd7\\xd7\\xd7 SIIIIICK \\xd7\\xd7\\xd7 PIIIICKS \\xd7\\xd7\\xd7

Shameless Plugs

Tweet us your tasty treats!

'