We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1881f2e commit 9b9d6c2Copy full SHA for 9b9d6c2
1 file changed
src/index.jsx
@@ -20,7 +20,7 @@ export function compileTemplate() {
20
21
export function render() {
22
const { name, props } = JSON.parse(Host.inputString())
23
- const code = Var.get(`template-${name}`)
+ const code = Var.getString(`template-${name}`)
24
let view = reactTools.transform(code, {}) + '; return App'
25
let [globalKeys, globalRefs] = getGlobals()
26
globalKeys.push('React')
0 commit comments