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