[React] Fix props forwarding warning for v15.2.0
Problem description
React is about to release a new version of React: v15.2.0. They are introducting a new warning. For more details, https://github.com/react-bootstrap/react-bootstrap/issues/1994 is a good place to start.
We are already aware of this issue (props forwarding down the tree) and we have tried to address it. However, I'm pretty sure it's not solve at 100% yet.
@oliviertassinari Oh my, this is going to be fun 😄, 73 warnings in the documentation.
We should fix this issue quickly, v15.2.0 has already been released https://github.com/facebook/react/releases/tag/v15.2.0. I'm gonna work on it this week-end.
I did think that I was doing my own elements and styles wrong, but then after updating my code the only warnings left were pertaining to the material-ui components I was using. Look forward to a fix for all those!
@flaccid should be finished tomorrow
My application is blowed up after having updated to 15.2. Looking forward to some fixes.
Most of the warnings should be fixed on the master branch now. We need the feedbacks of the community to fix the remaining one. I'm closing this issue. @callemall/material-ui Would be good to do a release soon.
Would be good to do a release soon.
0.15.2 is ready to be released. I'll include these changes and update the notes soon.
@alitaheri I have one more fix that needs doing for 0.15.2. Stepper animation in Safari.
After update to master from npm latest version, still get transitionAppearTimeout .
Full message:
warning.js:44 Warning: Unknown prop `transitionAppearTimeout` on <div> tag.
Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in div (created by ReactTransitionGroup)
in ReactTransitionGroup (created by DialogInline)
in div (created by DialogInline)
in DialogInline
in MuiThemeProvider
After update to master from npm latest version, still get transitionAppearTimeout
@Intey That's an issue with React. Wait for them to release a fix. https://github.com/facebook/react/issues/7163.
Any word on when these changes might land in a new release?
@alexhancock Soon.....https://github.com/callemall/material-ui/pull/4572
Cool - thanks!
This version is breaking with the package [email protected]
I'm still getting a bunch unknown-props-warnings in 15.0.2. Am I alone in this?
@Jpunt A couple more have been fixed since the release. Could you try with the master branch?
@oliviertassinari I'd like to, but when I install the package from its git-url I get the following error:
UNMET DEPENDENCY material-ui@git://github.com/callemall/material-ui.git#master
How should I install this?
I encounter an issue with MenuItem:
React.dll.js:19164 Warning: Unknown prop `onRequestClose` on <span> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in span (created by EnhancedButton)
in EnhancedButton (created by ListItem)
in div (created by ListItem)
in ListItem (created by MenuItem)
in MenuItem (created by Menu)
in div (created by List)
in List (created by Menu)
in div (created by Menu)
in ClickAwayListener (created by Menu)
in Menu (created by MenuItem)
in div (created by PopoverDefaultAnimation)
in div (created by PopoverDefaultAnimation)
in div (created by Paper)
in Paper (created by PopoverDefaultAnimation)
in PopoverDefaultAnimation
in MuiThemeProvider
Anyway to fix it? Master branch is no help here. Thank you,
@GuillaumeCisco As far as I have looked at it. This props is most likely provided on your side. Somewhere it has no effect.
@oliviertassinari, are you referring to the React.dll.js file? Cuz I use the webpack dll plugin.
Anyway, I didn't write onRequestClose in my business code, it comes from redux-form.