-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add devtool hook #3371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add devtool hook #3371
Conversation
T4rk1n
commented
Jul 16, 2025
- Add a new hook to add react/dash components to the devtool bar.
- Fix allow_optional triggering a warning for not found input.
- ExternalWrapper components can now target a base property out of the regular layout.
@@ -568,10 +569,20 @@ export function validateCallbacksToLayout(state_, dispatchError) { | |||
function validateMap(map, cls, doState) { | |||
for (const id in map) { | |||
const idProps = map[id]; | |||
const fcb = flatten(values(idProps)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to guess what fcb
stands for…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flatten callbacks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aahh... thanks
@CNFeffery you may find this one interesting... |
At present, there is no relevant introduction in https://dash.plotly.com/dash-plugins-using-hooks. Let's first understand the operation mechanism and usage form through the test cases involved in this PR🚀.
|
Yep, @CNFeffery , no documentation yet as this is still early stages. But it will let users build hooks that add custom UI to the devtools bar for Dash developers. |