3 ms·
it's an ugly pattern when you're inlining function strings as HTML attributes. if you can reference functions directly as attributes of your views it actually
by catshirt 13y ago
it's an ugly pattern when you're inlining function strings as HTML attributes.
if you can reference functions directly as attributes of your views it actually makes perfect sense.
mixing your templates and your code sucks when you're working in 2 languages across 2 files and you have to glue everything together. as soon as you're writing them both to the same target it makes perfect sense. especially since react still uses the DOM event model behind the curtains.