Would the planned beta version of Compose WASM add...
# compose-web
m
Would the planned beta version of Compose WASM address the SEO issues?
a
No why? A canvas has no SEO. It id not an issue since it wasnt a capability to begin with.
☝️ 1
1
m
I suppose I can still add meta tags etc manually
a
there is no issue with seo in compose web afaik. it's the wrong tech to use if you need your content to be crawlable. use something else like compose html or html directly
a
Compose HTML is also problematic for SEO because it is rendered after page load, just like React/Vue/Svelte/whatevs. Crawlers are still not good enough for that. Go for Server Side Rendering for proper SEO.
a
thanks. that I didn't know 🙂 I personally send the entire HTML from my server and call it a day (simplest to build and maintain). worked well in all my sites so far
a
Totally agree. The SPA-revolution has destroyed sensible thinking in web development 🙂
s
You don't necessarily need SSR to get SEO. kobweb solves this by static site generation at build time. For actual SSR you can choose kilua. obviously both go the route of sharing business logic but not UI
a
A static site still needs to be served. From the browser perspective this is identical to SSR.
For actual SSR you can just use Ktor. SSR is a fancy term for things people have been doing for ages. The newer frameworks introduce client-side hydration.
s
Except that the js will redraw the entire page. The static html is just for time to render and seo
a
With hydration you mean?
s
Yeah, your second message didn't load before sorry