pugjs / babel-plugin-transform-react-pug

A plugin for transpiling pug templates to jsx
MIT License
808 stars 46 forks source link

Remove aliases for attributes #70

Closed ezhlobo closed 5 years ago

ezhlobo commented 5 years ago

For now we have very few aliases for attributes:

https://github.com/pugjs/babel-plugin-transform-react-pug/blob/429ca31637501e517bbf475d65c5231873880ff0/src/visitors/Tag.js#L50-L60

I think we should get rid of it to get the same experience as with jsx and react. Unless you know good reason to do that, this way we will make more aliases to be compatible more with plain html.

ezhlobo commented 5 years ago

Done in v7.0.0