Links and notes from August 2023

AI mining, Frontend links, Svelte UI libraries, music

Japanese anemone – Anemone hupehensis

Opt-out of AI-mining

Disable AI-mining of your website (via Siegfried Ehret).

Want the full robots.txt ? Here it is.

Of course, it won’t stop rogue bots from scraping your website, but it’s a good start.

Frontend

Things you forgot (or never knew) because of React. React is backward, React is antiquated.

A nice lib to work with IndexedDB. LocalStorage is (really) “meh” beyond simplistic needs. IndexedDB’API is a bit of a pain, but Dexie makes it much easier.

Histoire: good riddance Storybook?. Had difficult times with Storybook. Slow, clunky and buggy, and it’s a pain to maintain. I’m curious to see how Histoire would fare.

Svelte UI component libraries

I keep seeing the SvelteJs reddit users asking for UI component libraries.

I have opinions on this topic (grumpy-old-frontend-dev-style): most premade UI-component libraries are meh, and you should carefully consider if you really need one.

Why ?

  • Because they are often bloated, and you’ll always end up fighting with their poor abstractions to make them do what you want.
  • They are often not very well maintained.
  • They introduce technical debt, and way too much dependencies in your project (both runtime and build-time ones).

React trained us that things need to be built specifically for a certain framework. But that’s not very true anymore, and it arguably never should have been..

But if you really need one, headless libraries could be worth a look anyway. They are often more flexible, less opinionated, and also not styled by default, which is a good thing (a lot of bloat from UI libraries comes from the fact they’re tying too tightly the style and the functionality). They also often have a better API, are more easily composable and often implement much better accessibility.

Music!

Mardeleva – Guanaye

Youtube video:

Headland – Tasty Witch

discovered via my friend schpr, few years ago.