Yarn

Recent twts in reply to #syvxcuq

(#m7o5dpa) @prologic@twtxt.net Ok, iโ€™m not used to docker so i need to set it up for working on it.

I never used MithrilJS but it seems to be the usual JSX style of DOM structure.


#syvxcuq

(#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
Login to participate in this yarn.