Skip to content

Replace react-measure package #283

@thatblindgeye

Description

@thatblindgeye

Describe the enhancement or change
As a followup to #282, we should replace the react-measure package.

There was an issue when trying to test upgrading React versions to 19 due to the ReactMeasure import, and since 1) react-measure is only being used in a single file (VisualizationSurface.tsx), and 2) react-measure was last updated 5+ years ago (and they're still depending on React 16), it would be advantageous to replace this package.

This issue could serve more as an investigation into potential replacements, be it another 3rd party package, PatternFly's resizeObserver, getBoundingClientRect, etc.

Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?

Any other information?

Metadata

Metadata

Projects

Status

Not started

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions