(#32wwwza) @prologic@twtxt.net Okay, I’ll check it out! 👍
Sadly, I don’t know Go Lang though, so my help is limited to the HTML/JS parts. 😁
I can probably contribute the most on the pwa repo.
#m7o5dpa
(#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 Understandable. 😉
Then I’ll try to make my best to make something nice. 😎
One last question, is it okay to go with standard fetch for API calls or you’re planning to use twt.js?
The repo seems archived though.
#qa2ywaq
(#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
(#m7o5dpa) @ullarah@txt.quisquiliae.com I’ll try! ✌️
#espzbga