Could anyone tell me the technical difference between these two syntaxes (one wrong) for dynamic imports in Javascript?
First:
let variable = "./components/"
import(`${variable}Home`).then(module => /*works*/)
Second (wrong): Why is this not possible ?
const stringVar = "./components/Home"
import(stringVar).then(module => /* doesn't work */)