How can be possible that 'this' in React.Component life cycle have changed to different object?
In render()
and in componentDidMount()
this
points to different objects?
- I use React 16.0.0
- All life-cycle methods called only once
- I transpile Typescript with Webpack
- I couldn't repeat it in a browser, in browser
one === two // true
- I have very big app, so I thought it can be ReactFiber some kind of optimization?
Like here: JsBin