3 ms·
To be fair this project uses zero 3rd party npm modules for runtime. The total runtime JS it uses is 1.76kB in size.
by fullstacking 10mo ago
To be fair this project uses zero 3rd party npm modules for runtime.
The total runtime JS it uses is 1.76kB in size.
- Groxx 10mo agoIt also works just fine without JavaScript, so I'm not sure what they're trying to do with that comment.
- hunter2_ 10mo agoNo, the comment correctly points out that the "Soup" button (and all of its siblings... the food categories) is inoperable when JavaScript is disabled. You're stuck with "All" instead of nice filtering. There are ways to achieve this without JavaScript.
- Groxx 10mo agoah, gotcha. that would be nice, but tbh it seems rather minor? anyone who knows how to disable javascript (an extremely-clear "power user" signal) can probably be expected to know how to search a page too.
- hunter2_ 10mo agoIt's just peculiar especially since the repo readme [0] specifically says "Minimal JavaScript - Only when truly needed" and yet it's used for this food category filtering, a feature for which JS is certainly not truly needed. [0] https://github.com/Local-Cafe/localcafe-lite?tab=readme-ov-file#philosophy https://github.com/Local-Cafe/localcafe-lite?tab=readme-ov-f...