
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
BEM class names are systematic. So why write them yourself?
React ATOM automatically generates BEM style classes on React components... So you don't have to. Then it atomizes them, so they're really fast/performant.
JSX Component:
var Test = React.createClass({
mixins: [ReactBEM, ReactATOM],
bem_blocks: ["widget"],
bem_translate_class: function(bem_classes) {
return this.atomize(bem_classes);
},
bem_render: function() {
return (
<section class="no-overwrite">
<h3 role="title">Price Form</h3>
<form>
<input type="text" name="amount" modifiers="amount" />
<input type="submit" name="submit" modifiers="submit" role="button" />
</form>
</section>
);
}
});
Translates to:
<section class="painted-blue text-left" data-reactid=".0">
<h3 class="typography-loose" data-reactid=".0.0" role="title">
Price Form
</h3>
<form data-reactid=".0.1">
<input class="rounded-default font-small" type="text" data-reactid=".0.1.0" name="amount"></input>
<input class="painted-light-grey widget__button--submit" type="submit" data-reactid=".0.1.1" role="button" name="submit"></input>
</form>
</section>
You can see it live, how it attaches the BEM classes, here.
React BEM is free--as in BSD. Hack your heart out, hackers.
FAQs
React ATOM CSS transformer.
We found that react-atom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.