4 ms·
They're not really a hack since javascript does support custom attributes. Jsx is not supported out of the box by javascript and jsx extends the syntax, so what
by makkesk8 7y ago
They're not really a hack since javascript does support custom attributes. Jsx is not supported out of the box by javascript and jsx extends the syntax, so what does actually feel more of a hack?
```const element = <h1>Hello, world!</h1>;``` How is this less of a hack compared to vue's attributes?