The globalError was always provided as a child of ReactTransitonGroup even when it was the empty string. ReactTransitionGroup performs a for..in loop over its children, which iterates over the enumerable
properties of the object, including the ones that inherits such as the properties added to String.prototype.
To avoid the issue, use null instead of the global error message when it is empty.
The globalError was always provided as a child of ReactTransitonGroup even when it was the empty string. ReactTransitionGroup performs a for..in loop over its children, which iterates over the enumerable properties of the object, including the ones that inherits such as the properties added to String.prototype.
To avoid the issue, use null instead of the global error message when it is empty.