question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Seeking feedback from @etpinard @alexcjohnson @bpostlethwaite on the best location for Plotly.react. I can imagine a few possibilities:

  1. it should go in plotly.js and we just have to add a couple lines of code to this repo to make use of it.
  • Pro: react-like functionality usable from any library
  • Con: more code in plotly.js
  1. it goes in this repo. It computes a diff (maybe using the schema to figure out what to do about array data, with optional flag to apply immutable-like reference-change logic to simplify diff computation) and sends the result to the relevant plotly.js API methods.
  • Pro/con: opposites of above

Unless I’m wrong, sounds like @alexcjohnson is/will be working on Plotly.react. I just wanted to confirm that’s what this will link up with.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:28 (23 by maintainers)

github_iconTop GitHub Comments

7reactions
nicolaskruchtencommented, Feb 12, 2018

Good news! The Plotly.react method is implemented in plotly.js version 1.34.0 and this React wrapper already takes advantage of it, so just upgrade plotly.js and things should be more reactive!

2reactions
bpostlethwaitecommented, Jul 31, 2017

Oh sorry for the confusion. Yes I was thinking component it makes lots of sense that it is in Plotly.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

React plotly.js in JavaScript
Use react-plotly.js to embed D3 charts in your React-powered web application. This React component takes the chart type, data, and styling as Plotly...
Read more >
react-plotly.js - GitHub
A plotly.js React component from Plotly . Contribute to plotly/react-plotly.js development by creating an account on GitHub.
Read more >
How to Integrate Plotly in Reactjs - MindBowser
Plotly is an open-source Javascript library used to draw charts. For react we use the react-plotly.js library with plotly.js. The data for the...
Read more >
Using Plotly in React to build dynamic charts and graphs
Learn how to build and display dynamic and customizable graphs in your React applications with Plotly, a data visualization framework.
Read more >
How to use Plotly.js in React to Visualize and Interact with ...
js over Python Plotly could be because of loading speeds — I've once written a React + Flask application (where the datasets and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found