plotly / plotly/react-plotly.js

config is cached

Open
#213 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
138
Avg merge
3d 2h
Merged PRs (30d)
4

Description

When creating a plot and giving it a config, it seems the config is cached/stale.
I have added a button in a config which e.g. console.logs redux's state. Even though the state changes throughout using the app, clicking the button yields always the same result.

Any idea if I'm missing something simple here or if I should create some code example for further deep dives?

Thanks!

Contributor guide

No contributing guide indexed for this repository

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 reproducing the stale config behavior in a minimal react-plotly.js example, using a config button that reads changing redux state. Compare the button's observed state with the current application state and inspect the component's config handling. Done means the button reflects updated state, with a regression test or reproducible example documenting the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.