JavaScript Jabber cover image

The CSS Universe with Austin Gil - JSJ 592

JavaScript Jabber

00:00

The Impossibility of Using Variable Styles in JavaScript

In for this to really work perfectly what you kind of want to do is effectively run some of the JavaScript at build time or a transpiler time and be able to share data across both these separate run times. The AST will tell you the exact line that your target expression was found on in the source code but then there's no way to ask the transpiler well what is the value of styles it's like I don't know It's an impossibility to figure that out if you ask me well so it's interesting there. You could take this it's again not an object representation it's a string of an object and you could chase on parsit or eval it or something which would

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