Copy
View this email in your browser
TWiW|3.3.19 #62

This week we take a look at a lesser known ESLint rule, the future of navigation in Chrome, the semantics of a Button and more!

 

Enjoy 🎉

Disallow imports using ESLint
Javascript

Disallow imports using ESLint

By Addy Osmani
Are there known large JavaScript dependencies your team wish they could disallow from a project? There’s an ESLint rule which allows you to do exactly that.
When is a Button not a Button?
HTML

When is a Button not a Button?

By Vadim Makeev
Not everything that’s round and stands out is considered to be a button. In this article, Vadim Makeev explains how you can create a proper interactive button for your users — one that shouldn’t be confused for anything else.
Exploring back/forward cache for Chrome
Browsers

Exploring back/forward cache for Chrome

By Addy Osmani
While the Chrome team are in early stages of developing back/forward cache Addy Osmani shares a prototypes of how navigation performance can be drastically improved using it.
TensorFlow.js and Machine Learning in JavaScript
Podcast

TensorFlow.js and Machine Learning in JavaScript

By JS Party
Panelists Suz Hinton and Nick Nisi discuss TensorFlow.js and Machine Learning in JavaScript with special guest Paige Bailey, TensorFlow mom and developer Advocate for Google AI.
via @sophiebits
Tweet

via @sophiebits

By 6:32 PM - 22 Feb 2019
my rule for .reduce(): only use it when the result has the same type as the items and the reducer is associative, like

.reduce((a, b) => a + b, 0)

✅summing some numbers
✅multiplying some numbers
🚫building up a list or object
🚫just about anything else (use a loop)

Copyright © 2019 This Week in Web, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Email Marketing Powered by Mailchimp