Show more

Oooh, or this one!

"Your intuition is incorrect! Your everyday HTML mental model is misleading."

Look, I don't want to reach enlightenment, I just want to write some components

Sometime I want to make a bot that toots lines from the Angular docs.

For example, this gem:

"The target name is the name of a property. It may look like the name of an attribute but it never is. To appreciate the difference, you must develop a new way to think about template HTML."
angular.io/guide/template-synt

"We'll just drop in this component," they said. "We can just accept the defaults," they said. mastodon.xyz/media/6dcUXbsrg42

"Page Lifecycle API" by Philip Walton developers.google.com/web/upda

This page is so useful just for understanding how browsers freeze/discard tabs and how back-forward caching works, as well as certain gotchas around page lifecycle management. I feel like I'm going to need to read it over a few times to really grok it, but it's enormously helpful from a webdev perspective.

"Perhaps the best testament to our belief in iterative design is that literally no detail of the initial UI design for Windows 95 survived unchanged in the final product."

socket3.wordpress.com/2018/02/

"Use whatever makes you happy and productive. Do acknowledge both strengths and weaknesses of what you are using."

This is in the context of static typing in JavaScript, but it's good advice in general!

2ality.com/2018/03/javascript-

Here's to celebrating Independence Day with friends. (As seen on Essex Street, Salem MA)

mastodon.xyz/media/Vjv9aVYbFhn

this awesome little tool allows you to contain a small website in a url. no hosting required, very portable.

geez. i can think of a million ways to use this for very creative little projects.

itty.bitty.site

Fun fact: pressing enter will trigger a click on the first submit button in a form. I'm not sure whether this is a standards thing or just something that browsers tend to do. That behavior is reasonably accessible, but binding to the form's submit event still seems less brittle.

github.com/bitovi/syn/pull/66

I accidentally typed `nom install` and now I wish that was actually the command to install npm packages.

Paul Ford wrote a beautiful piece in Bloomberg about what GitHub is. I wish more technical writers could write like him: bloomberg.com/news/articles/20

Protip:

When designing a user interface, imagine some old woman using it, say Margaret Hamilton, and she's clicking your app's buttons and saying to you, as old people do,

"Young whippersnapper, when I was your age, I sent 24 people to the ACTUAL MOON with my software in 4K of RAM and here I am clicking your button and it takes ten seconds to load a 50 megabyte video ad and then it crashes

I'm not even ANGRY with you, I'm just disappointed."

So the self-care bot is great and all, but sometimes it feels like I'm following my Mom on Mastodon.

botsin.space/@selfcare/1000881

Sound advice on Redux, from its creator:

"...if you’re just learning React, don’t make Redux your first choice. Instead learn to think in React. Come back to Redux if you find a real need for it, or if you want to try something new."

That advice works with with Vue and Vuex as well!

medium.com/@dan_abramov/you-mi
reactjs.org/docs/thinking-in-r

I wrote a piece for Smashing Magazine about SVG and pointer-events. My first for the publication. 😊

smashingmagazine.com/2018/05/s

Show more
Mastodon

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.