2min chapter

Syntax - Tasty Web Development Treats cover image

Potluck × Native Web Components × JS Class Mixins × Application Secrets

Syntax - Tasty Web Development Treats

CHAPTER

Using the Browser Uh Native Web Component

When using the browser should the whole application be wrapped in a component tree similar to how react apps do it or are they meant to be more sprinkled throughout the page where needed? i'm trying them out on a learning project which is a blog spot site but i'm a bit confused if i should make every single thing in a web component. even if things aren't interactive they'd still benefit from style encapsulation or shadow DOM however if i make for example a post of a web component it won't ssr from the server which will be pretty bad for seo huh this is interesting um i think and i'll see maybe scott knows a little bit more about what's going on here.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode