Just published a minor update (version 5.1.1) to JavaScript Database (JSDB) that optimises the custom data type¹ serialisation code by removing a redundant return statement:
https://www.npmjs.com/package/@small-tech/jsdb
This change is backwards compatible and shou…
And this is why I’m not a fan of JavaScript. Life is too short for this kind of nonsense.
https://javascriptquiz.com
If you are interested in #javascript and #SEO would you please fill in this quick survey from Sitebulb. Ta! https://siteb…
V8-Sandbox von Google Chrome nicht mehr experimentell
Die Sandbox der JavaScript-Engine V8 reift heran. Sie soll Speicherfehler unterbinden, bei denen andere Maßnahmen versagen.
https://www.
Dumb API UI question.
You have a settings page and want to support whether they have JS or not.
If they have JS, some toggles should auto-save. Otherwise the form should submit when they hit the save button at the bottom of the section.
How would you handle that?
Should it submit only the changed item to a different endpoint?
The whole form to the same post endpoint?
Are there times when you don't want a toggle to automatically save? Times when you do?
#javascript #ux #ui
"This site requires JavaScript". Site works fine without JavaScript. Thanks noscript tag. You're doing a heckuva job.
One human earth week (March 12) until INP becomes a Core Web Vital, with big implications to the JavaScript-heavy React-ecosystem.
Folks hiding bad lab data (Lighthouse scores) behind decent field data (Core Web Vitals) are right to be nervous about this! Remember that Core Web Vitals affect your SEO/rank on Google 👀
https://
100% test coverage doesn’t mean your code’s bug free but it did just lead me to find and fix an issue in JavaScript Database (JSDB)¹ with a code path that wasn’t being hit that I would have otherwise missed because it was causing the relevant test to pass.
¹ JSDB is a zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log (an append-only log).