mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
We use static dependency injection. We shouldn't use this dynamic dependency injection we do for DevTools internals. There's also meta programming like spreading and stuff that isn't needed. This moves the config from `injectIntoDevTools` to the FiberConfig so it can be statically resolved. Closure Compiler has some trouble generating optimal code for this anyway so ideally we'd refactor this further but at least this is better and saves a few bytes and avoids some code paths (when minified). |
||
|---|---|---|
| .. | ||
| npm | ||
| src | ||
| Circle.js | ||
| index.js | ||
| package.json | ||
| README.md | ||
| Rectangle.js | ||
| Wedge.js | ||
React ART
React ART is a JavaScript library for drawing vector graphics using React.
It provides declarative and reactive bindings to the ART library.
Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).