Lurker News

Comments (242) 68 threads

Earlier comments
intrasight#
Very cool snippet.

This is what I now wished existed. A flowchart/wizard that let you choose a development framework based on some questions and answers. So that a minimum framework (HTMZ) is used if it can satisfy. Or HTMX if one of your answers indicates that it's needed. Or Vue, etc. - getting "heavier" platforms as needed.
Of course we don't always know ahead of time the answers to the question. But being given the questions and the flowchart would be beneficial for the up front analysis.

gpnt1 reply#
Well, you are using javascript anyway so here it is a 163 bytes solution without the back button problem and iframe hack:


Hi

doesn't works with form though.

niutech#
You can make it work with forms by using onsubmit and e.target.action
_ix1 reply#
This looks neat! I've never really been in to web development, but I'm curious... is it possible to create a standalone .html file for a browser-delivered app? Like, not just PWA or SPA, but... a single HTML App?

If I had modest amount of data in JSON baked into html, what's the barrier to something interesting, say... implementing a minimal spreadsheet or maybe just a sortable/filterable table?

SushiHippie1 reply#
> This looks neat! I've never really been in to web development, but I'm curious... is it possible to create a standalone .html file for a browser-delivered app? Like, not just PWA or SPA, but... a single HTML App?

Yes, you can include your JavaScript and CSS directly inside the

sodimel#
Simple and powerful, as the vanilla web should be. Thank you for this (small) gem :)

Load more comments