plotly / plotly/dash

[Feature Request] Avoid rendering dcc.Graph unless visible in the DOM

Open
#3,820 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature P2 size: 5
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Unless the graph is visible in the DOM, defer rendering it. Should help with performance.

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.

Research direction

Start by tracing dcc.Graph rendering in the frontend and how its presence in the DOM is determined; the issue names no files or tests. Define done as deferring rendering while the graph is not visible in the DOM and rendering it once visible, with the performance behavior verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.