Server side rendering package for Lit based projects #4019
treeder
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After using Lit for years now on a bunch of projects (love it btw), I've never been satisfied with the server side part of it. I'm typically using some template engine like ETA or pug and it just doesn't feel right. They all have their own syntax and aren't taking advantage of modern JavaScript like Lit is.
So I made a new package called rend that is a server side rendering library with a similar feel to Lit such as
render()
functions for rendering views, uses template literals, etc. It's also compatible with Lit things like @lit/localize meaning you can use the same language files on the client in your Lit components as well as on the server.Also, no build time, no magic and high performance.
Check it out at https://github.com/treeder/rend, would love your feedback.
Beta Was this translation helpful? Give feedback.
All reactions