Comments (3)
@wbrgss Thanks for that link. It would be helpful to other devs such as myself if information like this were communicated in the changelog, as it's not obvious to check the forums. Just as a case study, I was looking at the Dash changelog which indicates that dash-renderer was upgraded to v0.21, and all the dash-renderer changelog says is the following:
* Optimize rendering
* Always assign setProps to components
Again, thanks for the help!
from dash-renderer.
@philip-peterson This (breaking) change was intentional, and was documented in the Dash 0.40.0
release announcement:
Note: If you were using props.children.props in your components, this will no longer work. The information about the direct children can still be accessed through
_dashprivate_layout
like in the dcc tabs. You can also have a look at the PRs here and here for details.
Component type information still available but only as a type/namespace string
From what I understand, the change was made because e.g. [child].props.children.props.type
was ambiguous/confusing, and potentially brittle when introducing React upgrades.
from dash-renderer.
It would be helpful to other devs such as myself if information like this were communicated in the changelog
Yep, agreed. cc @Marc-Andre-Rivet 😉
from dash-renderer.
Related Issues (20)
- Update "wait" utility functions for tests with Selenium Wait API HOT 1
- Add source map to npm and pypi packages
- Make lint fail build when there are linting errors HOT 1
- Add test for hot-reload.
- Remove Event system
- Remove redux-logger? HOT 1
- NotifyObservers propTypes not correct HOT 1
- Included bundle in the assets HOT 1
- Breaking change between v. 0.19.0 and 0.20.0 HOT 6
- setProps refactoring breaks Loading component HOT 1
- Regression going from Dash 0.39 to 0.40 -- implicit `0` child is missing from app
- add config flag so we can disable the props check if needed
- Provide functioning setProps if the component doesn't have an ID HOT 1
- callbacks with multiple outputs aren't fired on page load? HOT 1
- unhandled js error with preventupdate? HOT 1
- dash-renderer issue when loading python dash HOT 5
- Hot reloading only working once (reappearance?) HOT 1
- Newline character (\n) in table cell causes Javascript selector error (dash 2.7.1)
- rendering dynamic components with inputs that exist on the page HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-renderer.