Uh oh!
There was an error while loading. Please reload this page.
[WIP] Dash dev tools - #64
Conversation
rmarren1
commented
Jul 30, 2018
Looks like you can get the route prefixes from the config like this: dash-renderer/src/actions/api.js Line 42 in 0dc6f33 anyone know how to actually import the |
T4rk1n
commented
Jul 30, 2018
@rmarren1 I think it's in the state dash-renderer/src/actions/api.js Line 36 in 0dc6f33 Or you can get it directly: JSON.parse(document.getElementById('_dash-config').textContent) |
rmarren1
commented
Aug 10, 2018
Another pre-release at
|
T4rk1n
commented
Aug 10, 2018
I am getting a blank screen when I try it with dash_table_experiments: This is the console log: Can you do a release candidate with the dev build ? |
rmarren1
commented
Aug 10, 2018
Yes I'll do that. Pretty sure that your error is because dash-table-experiments is written using in React 15 syntax, I think the only major difference is here you would need to |
T4rk1n
commented
Aug 10, 2018
That make senses. |
rmarren1
commented
Aug 10, 2018
|
rmarren1
commented
Aug 28, 2018
Requires this PR: #67 |
rmarren1
commented
Sep 6, 2018
rmarren1
commented
Oct 3, 2018
Just came across this: https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html This would make for some annoying errors in tests that try to exactly match the rendered HTML to a string. I think this would affect |
Hey @rmarren1 - I'm going to start on #94 soon, and was planning on creating a branch off of this branch. Should we fix the merge conflicts first, i.e. rebase, or is that too much work? Alternatively, I can branch off of this branch, when I'm done we'll merge my branch into this one, and fix the conflicts later. |
rmarren1
commented
Nov 25, 2018
Continued in #100 |
Release Candidate:
pip install dash-renderer==0.14.0rc7In this PR, we change the Dash app layout from something like:
To the following
The new components serve the following purposes:
GlobalErrorContainer-- Container for theGlobalErrorOverlay, this component connects to the Redux store and passes state and functions down to theGlobalErrorOverlay, and also creates the Werkzueg error pop-up.GlobalErrorOverlay-- This component renders the main Dash app (_dash-app-content) along side a conditionally rendered 'error menu'.ComponentErrorBoundary-- This component wraps each Dash component in theTreeContainerand implements thecomponentDidCatchlifecycle method to catch errors in those Dash components. If there is an error in the component, aComponentErrorOverlaycomponent is displayed. If the component must be disabled (this component has a child in the callback graph that has an error) aComponentDisabledOverlaycomponent is displayed.This PR also makes an update to the Redux store, adding an
errorstate that looks like the following: