Closed pjebs closed 5 years ago
I need to give some thought to what this actually means in terms of prevProps
and prevState
, but I don't have any objection to adding this in principle.
Where in the codebase would componentDidUpdate
get potentially called?
Closing because I created my own bindings: https://github.com/rocketlaunchr/react/
There is no support for
componentDidUpdate(prevProps, prevState, snapshot)
which is important when interacting with other libraries that directly interfere with the DOMIt gets called after
Render
.See: https://github.com/myitcv/react/wiki/Creating-a-GopherJS-React-app#other-lifecycle-methods See: https://reactjs.org/docs/react-component.html