Lightweight React.
Test Rexcited with React Official Demos
- Basically compatible with react.
- Less than 30k after being minified.
- Support string style attribute (style="excited:1;").
- Support class attribute (class="excited").
<script src="http://blackmiaool.com/rexcited/dist/react.js"></script>
<script src="http://blackmiaool.com/rexcited/dist/react-dom.js"></script>
npm i -S rexcited
In your webpack.config.js:
resolve:{
alias: {
'react/lib': 'rexcited/src/react/lib',
'react-dom/lib': 'rexcited/src/react-dom/lib',
react: 'rexcited/dist/react.js',
'react-dom': 'rexcited/dist/react-dom.js',
},
},