The REPL cover image

6: Thomas Heller on Shadow CLJS

The REPL

00:00

Can I Use JavaScript Directly or Closed Scripts?

The way NPM resolves the code is if you start with an ambiguous name which they define as something that doesn't look like a path say you want to use react You just say react without any path and that will be looked up in node modules. Normal NPM or node will look for the actual file relative to where you are right now, right? The rule is that a closed script namespace has to match its Fire name we can translate that easily to a closed script when imported since NS is must or which match match the file system name. It's Comparable to closer way when you want to import a Java file or Java classyou just say import and the fully qualified the name of the

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