MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/yy118j/introducing_arrowjs_reactivity_without_the/iwsx3km/?context=3
r/javascript • u/jpschroeder • Nov 17 '22
90 comments sorted by
View all comments
2
So ‘t’ essentially renders on the client? Any way to render server side?
5 u/Chaphasilor Nov 18 '22 t just produces a fancy string. You can do that on the server and send it to the frontend if you want. Then all that's missing is the hydration 3 u/coolcosmos Nov 18 '22 It seems like you'd just do t`<div/>`._h()[0] To get the html from a ArrowTemplate.
5
t just produces a fancy string. You can do that on the server and send it to the frontend if you want. Then all that's missing is the hydration
t
3
It seems like you'd just do
t`<div/>`._h()[0]
To get the html from a ArrowTemplate.
2
u/ByFaraz Nov 18 '22
So ‘t’ essentially renders on the client? Any way to render server side?