mach-react
v0.3.3
Published
Fast, and tiny react implementation.
Downloads
65
Maintainers
Readme
Mach React
Pros
- Only ~12.5KB when minified and gzipped. Read through the code in a day.
- Works like React with Radium, does css auto-prefixing and merging.
- Runs much faster than production React, less code === faster.
- Unstrict, and immutability is optional.
Cons
- Experiment and unstabled. Expect bugs and memory leaks.
- Created by an insane web developer.
- Unstrict, and immutability is optional.
Benchmark
Based on Todo example from React docs. This benchmark adds about 200 todos with very long strings and random numbers in them. It removes and re-adds the todos as much as possible for about 5 seconds. First it runs against React, then Mach React. On my machine Mach React runs about twice as fast as standard React in production mode.
Credits
- React Facebook -- Copied Component design.
- Radium -- Copied css auto-prefixing and css mixins for Components.
- virtual-dom -- Main dependency, provides virtual dom implementation.
- material-ui -- Copied project build process.