Search

Twts matching tag=m7o5dpa

(#m7o5dpa) @prologic@twtxt.net The PWA setup is a bit confusing to me, can you explain how to run it?

I can see that you’re using the templating in the html but i’m lost on how it bind with the backend.

My usual PWA setup is entirely separated from the backend.

I also worked a lot with NodeJS too and now i’m working on creating a bundle-less setup that is light and easy to use and don’t need any tooling at all except for a static server and a browser.


#qms4xwa

(#m7o5dpa) @prologic@twtxt.net Great, I’ll check out the PWA first then!👍

While MithrilJS is a good library I find if wasted when not used with JSX, you can probably enhance the syntax by using htm for the templating if you want to keep it light or use the renderer of esbuild directly.

In my projects I usually use uhtml, it’s a simple to use and blazing fast templating library, It doesn’t even use the Shadow DOM the usual JSX rely on, you should try it for your next project. 😜


#m3i53hq

(#m7o5dpa) @prologic@twtxt.net I can agree on JSX and similar but I must say that arrow functions, classes and so on are quite nice once you get used to them.

I too ended up wanting less and less but exactly for that reason I really enjoy those new stuff the platform offers natively.

Anyway, I’ll keep your style as much as I can. 👍


#pv7ouaq