JavaScript Jabber cover image

Progressive Enhancement with Elliott Johnson - JSJ 591

JavaScript Jabber

00:00

The Differences Between JSX and Spelt

There are only a few things that are not like native HTML syntax in spelt. All of them are really just simple templating, you know, control flow type things. Like we have in template control flow with if and else,. We have an await block, which I believe also comes with catch and then. It's very similar to like mustache syntax that we use to do those blocks. So there's no like weird crazy class names that you haven't to write throughout your app. If it doesn't support an actual like spelt markup, you can normally say triple back tick HTML for example. Because it is so close to regular HTML, but it's just about always looks right

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app