primatejs / primate

Polymorphic development platform
https://primatejs.com
MIT License
162 stars 9 forks source link

support web components as frontend framework #53

Open ralyodio opened 8 months ago

ralyodio commented 8 months ago

I don't know if its possible to do ssr with web components, but it would be nice to support native web components.

ralyodio commented 8 months ago

https://lit.dev/docs/ssr/overview/

terrablue commented 7 months ago

Initial support added in https://github.com/primatejs/primate/commit/089c9e35c9b5364e2ff5a4f01a8a06d2d3cd02eb.

To do / missing:

ralyodio commented 3 weeks ago
 window.addEventListener('beforeunload', () => {
   console.log('Clicked browser back button');
 });