I wrote a static web page and accidentally started a community (2023)
1–10 of 136 posts
Re: I wrote a static web page and accidentally started a community (2023)
#2Re: I wrote a static web page and accidentally started a community (2023)
#3Re: I wrote a static web page and accidentally started a community (2023)
#4There really must be something less bloated for local static pages. Embedded SQLite and react just for a few nested table queries? Come on, js has maps and hashtables. React for displaying generated content? My DOM inserter is half a page, and loads instantly
Re: I wrote a static web page and accidentally started a community (2023)
#5There really must be something less bloated for local static pages. Embedded SQLite and react just for a few nested table queries? Come on, js has maps and hashtables. React for displaying generated content? My DOM inserter is half a page, and loads instantly
The "static page" is referring to https://localfirstweb.dev/ . TinyBase, the tool with embedded SQLite and React support (among other things) is for reactive (non-static) web applications. Native JavaScript language feature like maps are not an adequate replacement for the functionality offered by TinyBase.
And native JS only is adequate for tiny first web. Clients do care about ms vs 5s load-times.
Re: I wrote a static web page and accidentally started a community (2023)
#6Re: I wrote a static web page and accidentally started a community (2023)
#7Hey browser makers, please allow file:// URLS to actually be able to load other files in the same directory without giving a CORS error. You can't even run a JS file from the same directory! That's what's really killing "local first".
Re: I wrote a static web page and accidentally started a community (2023)
#8Hey browser makers, please allow file:// URLS to actually be able to load other files in the same directory without giving a CORS error. You can't even run a JS file from the same directory! That's what's really killing "local first".
https://tomlarkworthy.moldable.app/index.html
You can turn off network and the download works.
Re: I wrote a static web page and accidentally started a community (2023)
#9Earlier quoted context omitted.
The "static page" is referring to https://localfirstweb.dev/ . TinyBase, the tool with embedded SQLite and React support (among other things) is for reactive (non-static) web applications. Native JavaScript language feature like maps are not an adequate replacement for the functionality offered by TinyBase.
What I said. Local embedded SQLite and React is not tiny, it's huge. And slow. And native JS only is adequate for tiny first web. Clients do care about ms vs 5s load-times.
I also don't think you understand the complexity of the features that TinyBase is offering. It's possible you don't personally need these features, but critiquing the software for not being totally minimalistic is a bit silly.