Skip to content

Commit babf02f

Browse files
authored
Remove unused react-window (#75)
We should probably still explore using this, but for now it's not used and we can removed it.
1 parent f4bb5ae commit babf02f

23 files changed

+0
-6923
lines changed

OVERVIEW.md

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ The React DevTools extension consists of multiple pieces:
77

88
One of the largest performance bottlenecks of the old React DevTools was the amount of bridge traffic. Each time React commits an update, the backend sends every fiber that changed across the bridge, resulting in a lot of (JSON) serialization. The primary goal for the DevTools rewrite was to reduce this traffic. Instead of sending everything across the bridge, **the backend should only send the minimum amount required to render the Elements tree**. The frontend can request more information (e.g. an element's props) on demand, only as needed.
99

10-
The old DevTools also rendered the entire application tree in the form of a large DOM structure of nested nodes. A secondary goal of the rewrite was to avoid rendering unnecessary nodes by using a windowing library (specifically [react-window](https://github.com/bvaughn/react-window)).
11-
1210
## Elements panel
1311

1412
### Serializing the tree

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
"react-relay": "master",
134134
"react-test-renderer": "^0.0.0-50b50c26f",
135135
"react-virtualized-auto-sizer": "^1.0.2",
136-
"react-window": "./vendor/react-window",
137136
"relay-compiler": "master",
138137
"relay-config": "master",
139138
"rimraf": "^2.6.3",

vendor/react-window/CHANGELOG.md

-96
This file was deleted.

vendor/react-window/LICENSE.md

-21
This file was deleted.

vendor/react-window/README.md

-88
This file was deleted.

0 commit comments

Comments
 (0)