Comment

Comment by throwanem

Wait, this actually says to use the implicit ID mapping on the global object? That hasn't been good advice since about 1999!

edit: I checked and wow, it really does. Good grief, did an AI write this? Use getElementById or querySelector or querySelectorAll or any other remotely modern web API method instead.

parent throwanem 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton