#talk to me

1 messages · Page 1 of 1 (latest)

stray plank
#

so I am rendering pages with gohtml, and using vanilla javascript if i need to do animations. I have a preact admin panel, and rendering lexical editor. that's not the fancy bit...

I have lexical editor inside gohtml by exporting the preact component as a single file!! and i'm halfway there to making it fast as hell, because it will load separately to the rest

#

tl;dr i put preact components inside go components

kindred nest
#

neat

#

can you compose the preact components without also composing the go components?

#

can you even compose components in preact? surely

stray plank
#

the go components are served serverside

#

so they just be

#

but preact components are usually inside a preact spa; you can export them as js bundles