Chat Logs

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