mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Currently the sub-pixel precision is lost which can lead to things not lining up properly and being slightly off or overlapping. We need some sub-pixel precision. Ideally we'd just keep the floating point as is. I'm not sure why the operations is limited to integers. We don't send it as a typed array anyway it seems which would ideally be more optimal. Even if we did, we haven't defined a precision for the protocol. Is it 32bit integer? 64bit? If it's 64bit we can fit a float anyway. Ideally it would be more variable precision like just pushing into a typed array directly with the option to write whatever precision we want. |
||
|---|---|---|
| .. | ||
| src | ||
| babel.config.js | ||
| buildUtils.js | ||
| package.json | ||
| README.md | ||
| SourceMapIgnoreListPlugin.js | ||
This directory contains code shared between several DevTools packages:
- /packages/react-devtools-core
- /packages/react-devtools-extensions
- /packages/react-devtools-inline
It is not published or released anywhere directly.