plotly / plotly/dash

implement support for React 19

Open
#3,231 9 comments 1 reaction 1 assignee View on GitHub

@T4rk1n is already working on this.

Since Dec 3, 2025.

  • #3646 by @T4rk1n — closed without merging
feature P2
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

We should start exploring React 19 support. React 19 has many changes which may affect how Dash works.

We know that component libraries will be affected as defaultProps is removed in React 19.

From @T4rk1n :

The defaultProps was mostly handled with the upgrade to react 18 and most components libs now.
propTypes removal doesn't really affect us because we still have the runtime check on our own, we also have our own typescript prop type support altho that might be difficult to update in the future if typescript indeed goes with the go rewrite that been in the news recently.
contextType removal is a new one I didn't see before, might have to update some components for it to work.
string refs removals was also part of the 18 update along with ReactDOM.render -> ReactDOM.createRoot
findDOMNode removal was part of react 18 upgrade.
new one is JSX namespace is changed https://react.dev/blog/2024/04/25/react-19-upgrade-guide#the-jsx-namespace-in-typescript might need some adaptation to the types.
The rest of the changes I don't think would affect us that much, I don't see anything that would prevent us to update. The initial fear with react 19 was with their new compiler but I think that was dropped.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.