-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Dash 2.0 #13
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`UpdateDpendants` copies the child component and passes in a connected `updateDependants` dispatching function that the presentational or widget control can use when it wants to signify that its state has updated and that it’s dependent components should use its new props to update their values via the `/update-components` POST request
(we’ll need this in a subsequent commit)
(we’ll need this in a subsequent commit)
this function gets called when a component updates and dispatches `updateDependants`. this action: - looks at the component’s dependants - makes POSTs to /update-component for each of the component’s dependant’s with all of the necessary dependencies - update’s each of the dependant’s with the new values from the response of the /update-component POST - recursively continues, dispatching to `updateDependants` with each of those dependendant’s dependants consider: A depends on B which depends on C when C changes, it dispatches `updateDependants` to update the value of B. on the response of that POST, B updates and makes a dispatch to update A with B’s new values
Dependency tree
Eslint imports
this matches the way `input` is handled
some config variables, like `url_base_pathname`, affect the API endpoints. this prevents us from serving the config through the API itself.
…e it the same `_dash-loading` class is used in the front-end
HammadTheOne
pushed a commit
to HammadTheOne/dash
that referenced
this pull request
May 22, 2021
HammadTheOne
pushed a commit
to HammadTheOne/dash
that referenced
this pull request
May 28, 2021
Dash.ly -> dash (same issue)
HammadTheOne
pushed a commit
that referenced
this pull request
Jul 23, 2021
Dash.ly -> dash (same issue)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #11 😉