primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

support web components as frontend framework #53

Closed ralyodio closed 3 months ago

ralyodio commented 1 year 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 1 year ago

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

terrablue commented 11 months ago

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

To do / missing:

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

no current activity on this, can reopen if becomes relevant again