Submit

Back to the channels

#primate

  1. phaleth I think we have the competitor to svelte https://primate.run/docs/frontend/html#component-scoped-assets :D
  2. nevet Primate — HTML
  3. blue phaleth: yes
  4. blue also the html handler supports props
  5. phaleth that I remember
  6. blue so really the only thing that's truly missing is components and reactivity. components could work by teaching esbuild about .html imports, but the main question is how would you use them
  7. phaleth ok, I'm gonna replace handlebars with html, this is great
  8. blue yes
  9. blue so import Navbar from "#component/Navbar"; could work for html, but we'd need to find a way to use those in the template. maybe <Navbar> or something, dunno
  10. phaleth xml in html is beautiful https://github.com/primate-run/primate/pull/274/changes :D
  11. nevet website: replace handlebars with html template by phaleth · Pull Request #274 · primate-run/primate
  12. phaleth yeah, I agree, I think the svelte can be replaced slowly, by doing small steps
  13. phaleth reactivity is not needed and components can be replace by typescript
  14. phaleth reactivity can also of course be replaced by typescript
  15. phaleth it's just the concept is not needed
  16. blue yes
  17. phaleth so you can start merging until you run into conflict
  18. phaleth it's just I have no clue how to test RSS, and it will prolly have to be done against live site
  19. blue you just open localhost:6161/blog.rss and see if your browser screams at you
  20. blue it's xml so your browser should colour it
  21. blue anyway, I still regret I have no time for poly. but maybe these html templates are the right direction after all
  22. phaleth browsers are coloring it as xml cause the content-type is correct
  23. blue yes, then copy it and paste it some xml checker
  24. phaleth I think these html templates are the right way to go, I've tried solid quickly and the JS bundle is huge from that one
  25. phaleth yeah, it's a valid xml
  26. phaleth you can try it, if you can be bothered, but it's very straightforward
  27. phaleth time to crash
  28. blue gn
  29. phaleth seeya

Search posts