diff options
author | Sorin Davidoi <sorin.davidoi@gmail.com> | 2017-05-24 17:55:00 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-24 17:55:00 +0200 |
commit | 8e4d1cba00b48bc52dc406956a245856c489e48a (patch) | |
tree | 80793edff7a146d5afc0b7df09da696d623111a6 /package.json | |
parent | 676ba50601d04dcd15930bb92aea918cb6cdf041 (diff) |
Lazy load toots using IntersectionObserver (#3191)
* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 993570ce0..995ad6094 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "glob": "^7.1.1", "http-link-header": "^0.8.0", "immutable": "^3.8.1", + "intersection-observer": "^0.2.1", "intl": "^1.2.5", "is-nan": "^1.2.1", "js-yaml": "^3.8.3", @@ -92,6 +93,7 @@ "redux": "^3.6.0", "redux-immutable": "^3.1.0", "redux-thunk": "^2.2.0", + "requestidlecallback": "^0.3.0", "reselect": "^2.5.4", "rimraf": "^2.6.1", "sass-loader": "^6.0.3", |