react-window 1.8.8 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -25
package/README.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
> React components for efficiently rendering large lists and tabular data
|
|
4
4
|
|
|
5
|
+
### If you like this project, 🎉 [become a sponsor](https://github.com/sponsors/bvaughn/) or ☕ [buy me a coffee](http://givebrian.coffee/)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
5
9
|
React window works by only rendering *part* of a large data set (just enough to fill the viewport). This helps address some common performance bottlenecks:
|
|
6
10
|
1. It reduces the amount of work (and time) required to render the initial view and to process updates.
|
|
7
11
|
2. It reduces the memory footprint by avoiding over-allocation of DOM nodes.
|
|
8
12
|
|
|
9
|
-
[](https://yarnpkg.com/en/package/react-window) [](https://travis-ci.org/bvaughn/react-window) [](LICENSE.md) [](#backers) [](#sponsors)
|
|
10
|
-
|
|
11
13
|
### Sponsors
|
|
12
14
|
|
|
13
15
|
The following wonderful companies have sponsored react-window:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-window",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"description": "React components for efficiently rendering large, scrollable lists and tabular data",
|
|
5
5
|
"author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
|
|
6
6
|
"contributors": [
|
|
@@ -39,30 +39,6 @@
|
|
|
39
39
|
"src/*.js"
|
|
40
40
|
],
|
|
41
41
|
"sideEffects": false,
|
|
42
|
-
"scripts": {
|
|
43
|
-
"flow": "flow check --max-warnings=0 src && flow check website",
|
|
44
|
-
"precommit": "lint-staged",
|
|
45
|
-
"prettier": "prettier --write '**/*.{js,json,css}'",
|
|
46
|
-
"linc": "lint-staged",
|
|
47
|
-
"lint": "eslint '**/*.js'",
|
|
48
|
-
"test": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
49
|
-
"test:watch": "react-scripts test --env=jsdom",
|
|
50
|
-
"build:flow": "cp flow-template dist/index.cjs.js.flow && cp flow-template dist/index.esm.js.flow",
|
|
51
|
-
"build:source": "rollup -c",
|
|
52
|
-
"build": "del dist && mkdir dist && yarn build:flow && yarn build:source",
|
|
53
|
-
"start": "rollup -c -w",
|
|
54
|
-
"prepare": "yarn run build",
|
|
55
|
-
"website:build": "cd website && yarn build",
|
|
56
|
-
"website:deploy": "cd website && yarn deploy",
|
|
57
|
-
"website:run": "cd website && yarn start"
|
|
58
|
-
},
|
|
59
|
-
"lint-staged": {
|
|
60
|
-
"{website,src}/**/*.{js,json,css}": [
|
|
61
|
-
"prettier --write",
|
|
62
|
-
"git add"
|
|
63
|
-
],
|
|
64
|
-
"**/*.js": "eslint --max-warnings 0"
|
|
65
|
-
},
|
|
66
42
|
"dependencies": {
|
|
67
43
|
"@babel/runtime": "^7.0.0",
|
|
68
44
|
"memoize-one": ">=3.1.1 <6"
|