primate
primate copied to clipboard
support web components as frontend framework
I don't know if its possible to do ssr with web components, but it would be nice to support native web components.
https://lit.dev/docs/ssr/overview/
Initial support added in https://github.com/primatejs/primate/commit/089c9e35c9b5364e2ff5a4f01a8a06d2d3cd02eb.
To do / missing:
- [ ] Syntax highlighting for .webc in vim / vscode (using the same highlighter as for .html should be enough)
- [ ]
unmounted
export for cleanup - [ ] Styling
- [ ] SSR / Hydration
- [ ] Slotting / layouts
- [ ] Head Component
- [ ] Add to support matrix
- [x] Hot reload
window.addEventListener('beforeunload', () => {
console.log('Clicked browser back button');
});
no current activity on this, can reopen if becomes relevant again