Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/react-virtualized

Package Overview
Dependencies
Maintainers
26
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/react-virtualized

React components for efficiently rendering large, scrollable lists and tabular data

  • 9.21.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-20%
Maintainers
26
Weekly downloads
 
Created
Source

Adobe Plugin Toolkit optimized fork of react-virtualized

This fork contains fixes, workarounds and tuning to enhance performance on UXP based platforms.

Migration to this fork from react-virtualized

This fork is completely API compatible with the main repository of react-virtualized

Just follow these steps

  • run yarn remove react-virtualized
  • run yarn add @adobe/react-virtualized
  • change your require("react-virtualized") expressions to require("@adobe/react-virtualized")
  • make sure you use the "key" parameter provided to your rowRenderer function for each row

Changes

Mac and iOS not rendering top rows during scroll bounce.

When scrolling up quickly to the top of a list on a platform with bounce sometimes the top rows would not render for a few seconds while the bounce animation completed.

We fixed the problem by treating negative scroll values the same as zero when rendering.

Relevant Commit

Performance optimization to reuse row elements

This changes the key generating algorithm to reuse keys in a rotating fashion in order to minimize expensive createElement calls when new rows come into the viewport. It also keeps the rows in the same initial document order to avoid unnecessary reordering of elements.

NOTE: Reusing elements will cause transient state like focus or input field values not controlled by react state to persist and appear in different rows. If your rows contain focusable input fields then you will want to use your own key values for each list item instead of the rotating keys provided by this fork.

Relevant Commit

Workaround for cancelAnimationFrame not yet implemented

The current plugin platform does not yet implement cancelAnimationFrame and this results in lots of unnecessary rendering calls to rows which degrades performance.

We are fixing this in an upcoming version, but this will workaround the problem in the short term by replacing the use of requestAnimationFrame/cancelAnimationFrame with setTimeout/clearTimeout.

Relevant Commit

Keywords

FAQs

Package last updated on 29 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc