getDefaultProps
overrides properties passed from parent component
#107
Labels
getDefaultProps
overrides properties passed from parent component
#107
Hi. There is a problem with passing of
messages
to children of my top component. Using ofgetDefaultProps
overrides any messages passed from parent. I've using it for default translations, maybe there is another way to do it.Here I've prepare an example of bug.
If I comment
getDefaultProps
in myChildComponent
then test passes.The text was updated successfully, but these errors were encountered: