Click on tags to remove them from the filter.
Today’s five-minute job slamming to a halt because React Markdown does not deign to have an old-timey CommonJS entry point and the TypeScript-savvy Jest bundled with Create React App doesn’t work with currently fashionable ES6 modules. Sigh.
Modern web apps are a combination of JavaScript, CSS and other files that get bundled together with a bundler like Webpack or Rollup. Here’s an article on why you might prefer Rollup.
Observable Plot is a free, open-source JavaScript library from Mike Bostock, creator of D3. Simple incantations in its fluent API form a DSL for creating visualizations of tabular data with the minimum of friction.
(Via @simonw on Twitter)
Noted by Damian Cugley .A cool portfolio web site that only works if you DISABLE JavaScript.
You are probably too young to remember the days when web designers were required take in to account surfers who routinely disabled JavaScript for security reasons (which still apply, but which we ignore because we want to use Twitter).
Insisting on having JavaScript disabled is a bit extreme but it demonstrates as nothing else could that you can produce sophisticated layouts with CSS alone.
(Via @heydonworks on Twitter)
Noted by Damian Cugley .While we were all busy reimplementing jQuery and replacing it with more elaborate JavaScript frameworks, plain JavaScript has quietly gained features that mean you can do a lot on a small site without requiring complex frameworks at all.
(Via @timbray on Twitter)
Noted by Damian Cugley .A runtime for TypeScript or JavaScript programs that is positioned as a single-executable alternative to TypeScript + Babel + Node + NPM + ESLint + Prettier + Webpack. Modules are imported from URLs (same system as ES6 modules running in browsers), and asynchronous APIs use promises rather than those old-fashioned callbacks (so not a drop-in replacement for Node). Implemented in Rust, and aiming to be secure-by-default by restricting access to files and networks unless explicitly allowed.
Primer on JavaScript service workers, using them to show an offline page if your server or the internet is down.
Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.
Notifications API
Simon Willison demonstrates how to use SQLite and datasettes to do autocomplete in very little JavaScript.