Closed XanderEmu closed 8 years ago
Hello,
I've got something like that:
const foo = 'bar'; <input value="{foo}" />
How do I force foo to be parsed as a variable and not as a string?
Never mind. Turns out I just have to skip quotes:
const foo = 'bar'; <input value={foo} />
Hello,
I've got something like that:
How do I force foo to be parsed as a variable and not as a string?