Skip to content

Use React version 18.2 #2254

Closed
Closed
@klar-C

Description

@klar-C

Hi,

I posted this initially on the plotly forums but I imagine this might be a better place for it.

Is there any way to force Dash to use a newer version of React? Or is there any time-line as to update Dash to run with 18.2?

The main reason I’m asking is that e.g. Aggrid (and some other libraries) seem to have worse render performance for large tables under 16.4 versus 18.2.

As a test I created a component (through cookiecutter) and updated the react version.

When running it through the react testing server (using 18.2) I can scroll very smoothly.
When running it through the react testing server (using 16.4) then scrolling is clearly lagging. I can see the cells being drawn.
When running it through Dash as a component (Dash forces 16.4) then scrolling is again lagging.

I understand that this is a non-Dash library specific problem, however I can imagine that updating to a more recent React version (or indicating how it could be hacked) is something that has come up?

Metadata

Metadata

Assignees

Labels

P3backlogdash-3.0Going in dash-3.0 release.featuresomething new

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions