Right now there is a name collision in Protected decorator. It have a Component as argument and then extends Component which is supposed to be a react Component but instead we extending Component passed to that decorator. This will lead to numerous problems, for example if there also inject decorator with Protected decorator it will lead to either double componentDidMount or warning.
Right now there is a name collision in Protected decorator. It have a Component as argument and then extends Component which is supposed to be a react Component but instead we extending Component passed to that decorator. This will lead to numerous problems, for example if there also inject decorator with Protected decorator it will lead to either double componentDidMount or warning.