Bare: Run #JavaScript everywhere, actually: https://bare.pears.com/
Why isn't something like MithrilJS or VanJS more popular? I fucking hate React and whatever companion meta-framework is out here.
All #permacomputing projects built with #NPM and #JS are useless. Sorry, you didn't understand permacomputing *at all* . If you at least used Golang, it would run on relatively old machines. But, with #JS, you are just losing both yours and our time.
TIL the innerText property represents the *rendered* text, not the actual text in the DOM - for that you need textContent. So if you've uppercased your content with #CSS it will also be uppercase.
I just spent way too long debugging why the #Shopify predictive search breaks if I update the styling of the search button!
Compare your #webapps and see how much memory and CPU they are using.
Oh wonder #SPAs are more prone to memory eating, by nature, there is more dynamic page content, more #JS. Already the base memory footprint is double that one of an MPA.
Just check out the your browser's task manager. #devtools
And in doubt #usetheplatform, or in other words: HTML and CSS are powerful tools and solve more problems than some may think. Try to think simple(r).
Have you ever struggled with handling dates in #JS? We've got you!
Introducing get-current-day: the ultimate npm package that does exactly what it says: return today's date.
This npm package finally solves all your date problems with one simple trick. #AprilFools
A Little Loopy - Arrays, Loops, forEach, some, for...of, for - FrontEnd Engineering Explained #js
Firefox 137 is around the corner and I realized I didn't wrote DevTools release post since the beginning of the year
Let's start with updates in version 134, which brought a few fixes and some nice accessibility improvements: https://fxdx.dev/firefox-devtools-newsletter-134/
Folks who #website: I'm trying to create a slice'n'dice-able #data #table -- somewhat like https://instances.vantage.sh/ with the per-column client-side search/constraint/etc. FWIW my data's a discrete JSON file.
I'm allergic to JavaScript insofar as I have zero idea what I'm doing with it (and *can't* do anything with it, myself) but will happily copy'n'paste it as needed.
Got any pointers? #websites #HTML #datadriven #javascript #js #webdev #WebDesign #WebDevelopment #dataviz
I’m probably one of the few that advocates for 100% Code Coverage.
There may be some justifiable exceptions, but overall it’s just a good practice to avoid something that doesn’t work as expected.
Parallax layers
A subtle shift across 13 layers kept within a frame on the page.
Flip card on hover, flip back on hover out...
... but on touchscreens, flip it on click and then flip it back on second click!
A mostly #CSS solution, using #3D transforms, variables, grid, pointer MQ + a little bit of #JS.
Because somebody asked how to do it https://www.reddit.com/r/css/comments/1jm0a7v/comment/mk7zmd5/
Live demo on @codepen: https://codepen.io/thebabydino/pen/MYWPeer
"SPA Feel – Pattern #1 – Restore Scroll Position"
Combine the inherent simplicity and performance of MPAs with the smooth user experience of SPAs, making SPAs often outdated.
https://picostitch.com/blog/2025/03/spa-feel1-restore-scroll/
Initially written about at https://mastodontech.de/@wolframkriesing/113147202566737199
make up your mind: is longitude `lon` or `lng`?
️ JavaScript Promises Explained
Y recordad chiques, cuando desestructuréis un Object:
const { title } = item;
Usad siempre la sintaxi Spread:
const { title } = {...item};
De esta manera, si no existe/n la/s propiedad/es en el Object por lo menos se devuelven como undefined.
Se ois kuulkaas rekryhommat auki Fennoalla.
Etsin softatiimiini kahta hyvää tyyppiä, 1x mid- ja 1x senior-devaajaa. Perustaitoina tulisi olla PHP ja JS, mutta erityisesti sennun kohdalla kaipaan taitoja myös siitä koodin yläpuolelta. Sisartiimiin etsitään myös yhtä senior-devaajaa.
1/4
(Kaikki buustaukset tervetulleita!)
Last week's most downloaded npm packages:
1. semver
2. ansi-styles
3. debug
4. supports-color
5. chalk
6. minimatch
7. ms
8. tslib
9. strip-ansi
10. has-flag
️ Azure Test Plans Now Support Java, JavaScript, and Python