kizu / bemto

Smart mixins for writing BEM in Pug
439 stars 67 forks source link

bemto with JSX #92

Open SilencerWeb opened 6 years ago

SilencerWeb commented 6 years ago

Can I use it with JSX with this plugin https://bluewings.github.io/pug-as-jsx-loader/?

kizu commented 6 years ago

I did not try this plugin, so I don't know. You can try and see/report if there are any issues!

However, right now I'm working on a related thing: https://github.com/kizu/bemto-components — its implementation of some of the bemto ideas, but for React (with optional support for styled-components). For now, I'm finding using just it enough to scratch the itch of what the pug+bemto provided. So if you'd want to try this way instead of using Pug inside JSX, I would be glad for any feedback :)