Fork me on GitHub
#reagent
<
2020-07-27
>
Ryan Mooney13:07:00

What is the difference in requiring something using ":as" vs requiring it using ":default" in the header? I've noticed that locally as works fine, but in production it needs to be default, and I thought understanding the difference between them might give me an idea of why?

ordnungswidrig14:07:13

import * as name from "module-name" vs. import defaultExport from "module-name"

ordnungswidrig14:07:44

Beware that this is a shadow-cljs-only featrue.