SVENJSX
SVENJSX is a support tool for SvenJS. It allows you to write JSX syntax in your render code, like this:
var Sven = require("svenjs");var clickyComponent = Sven.create({ initialState: { clicks: 0 }, render() { let svenFunc = () =>{ this.setState({clicks: this.state.clicks++ }); } return ( The Click App Why not click me? Click stats You have clicked on the button {this.state.clicks} times ) }});
Related Modules
- svenjsx-loader - Webpack loader for SVENJSX.