Title: errors during react() while drag-selecting · Issue #2644 · plotly/plotly.js · GitHub
Open Graph Title: errors during react() while drag-selecting · Issue #2644 · plotly/plotly.js
X Title: errors during react() while drag-selecting · Issue #2644 · plotly/plotly.js
Description: I'm trying to upgrade my crossfilter example to be more declarative by using react() but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0a3923caf29e4d3feb960ec31234/script.js While ...
Open Graph Description: I'm trying to upgrade my crossfilter example to be more declarative by using react() but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0a392...
X Description: I'm trying to upgrade my crossfilter example to be more declarative by using react() but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2644
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"errors during react() while drag-selecting","articleBody":"I'm trying to upgrade my crossfilter example to be more declarative by using `react()` but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0a3923caf29e4d3feb960ec31234/script.js\r\n\r\nWhile drag-selecting on top of the Infant Mortality chart, the dashed-line selection box does not appear, and errors appear in the console:\r\n\r\n```\r\nplotly-latest.min.js:7 Uncaught (in promise) TypeError: Cannot read property '0' of undefined\r\n at Object.m.supplyDefaultsUpdateCalc (plotly-latest.min.js:7)\r\n at Object.r.react (plotly-latest.min.js:7)\r\n at redraw (script.js:64)\r\n at n.hist_im_select (script.js:121)\r\n at n.emit (plotly-latest.min.js:7)\r\n at HTMLDivElement.t.emit (plotly-latest.min.js:7)\r\n at plotly-latest.min.js:7\r\n```","author":{"url":"https://github.com/nicolaskruchten","@type":"Person","name":"nicolaskruchten"},"datePublished":"2018-05-17T20:33:38Z","url":"https://github.com/plotly/plotly.js/issues/2644"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c42c6588-ff2e-d60c-a38f-3727ba95f9d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95AA:19F84C:101657F:14A30F4:6B010034 |
| html-safe-nonce | 4718fd8c8a51c2c15ea07228d735584fe79657093f20483ea63dc4e14f366242 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUFBOjE5Rjg0QzoxMDE2NTdGOjE0QTMwRjQ6NkIwMTAwMzQiLCJ2aXNpdG9yX2lkIjoiNDk4Mjg2MTk2MDE0MDg4MTk3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ade34b7a58a8de7f1a392f3b02a7ccd034d9d54d77fa2bcf57df2667e59b45e4 |
| hovercard-subject-tag | issue:324175693 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/2644/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0375710b5a8bda1d146c02a086699bb07fc5cd729a12e0fd4052036bfb9944b7/plotly/plotly.js/issues/2644 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0375710b5a8bda1d146c02a086699bb07fc5cd729a12e0fd4052036bfb9944b7/plotly/plotly.js/issues/2644 |
| og:image:alt | I'm trying to upgrade my crossfilter example to be more declarative by using react() but seeing errors. This is my attempt: https://github.com/plotly/plotly.js-crossfilter.js/blob/23b1ff9bd8dc0a392... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nicolaskruchten |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width