Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
babel-plugin-esx-ssr
Advanced tools
Babel plugin for the Server-Side which converts JSX to ESX for performance gains.
Babel plugin for the Server-Side which converts JSX to ESX for performance gains.
Experimental.
In
import React from 'react'
const data = { value: 'hi '}
const Component = ({value}) => (
<div>
<p> some content </p>
<p> some {value} </p>
</div>
)
const App = () => <Component {...data}/>
export default App
Out
const esx = require('esx')();
import React from 'react';
const data = {
value: 'hi '
};
const Component = ({
value
}) => esx`<div>
<p> some content </p>
<p> some ${value} </p>
</div>`;
esx.register({
Component
});
const App = () => esx`<Component ...${data}/>`;
export default App;
$ npm install babel-plugin-esx-ssr
.babelrc
(Recommended).babelrc
{
"plugins": ["esx-ssr"]
}
$ babel --plugins esx-ssr script.js
require("babel-core").transform("code", {
plugins: ["esx-ssr"]
});
This plugin is for esx
v2.x.x.
esx
is an OPEN Open Source Project. This means that:
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the CONTRIBUTING.md file for more details.
MIT
FAQs
Babel plugin for the Server-Side which converts JSX to ESX for performance gains.
We found that babel-plugin-esx-ssr 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.