Chat Logs

  1. * jreicher joined #primate
  2. * phaleth joined #primate
  3. phalethI think we have the competitor to svelte https://primate.run/docs/frontend/html#component-scoped-assets :D
  4. nevetPrimate — HTML
  5. * phaleth joined #primate
  6. bluephaleth: yes
  7. bluealso the html handler supports props
  8. phaleththat I remember
  9. blueso 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
  10. phalethok, I'm gonna replace handlebars with html, this is great
  11. blueyes
  12. blueso 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
  13. phalethxml in html is beautiful https://github.com/primate-run/primate/pull/274/changes :D
  14. nevetwebsite: replace handlebars with html template by phaleth · Pull Request #274 · primate-run/primate
  15. phalethyeah, I agree, I think the svelte can be replaced slowly, by doing small steps
  16. phalethreactivity is not needed and components can be replace by typescript
  17. phalethreactivity can also of course be replaced by typescript
  18. phalethit's just the concept is not needed
  19. blueyes
  20. phalethso you can start merging until you run into conflict
  21. phalethit's just I have no clue how to test RSS, and it will prolly have to be done against live site
  22. blueyou just open localhost:6161/blog.rss and see if your browser screams at you
  23. blueit's xml so your browser should colour it
  24. blueanyway, I still regret I have no time for poly. but maybe these html templates are the right direction after all
  25. phalethbrowsers are coloring it as xml cause the content-type is correct
  26. blueyes, then copy it and paste it some xml checker
  27. phalethI think these html templates are the right way to go, I've tried solid quickly and the JS bundle is huge from that one
  28. phalethyeah, it's a valid xml
  29. phalethyou can try it, if you can be bothered, but it's very straightforward
  30. phalethtime to crash
  31. bluegn
  32. phalethseeya