matrix-react-sdk
0bb8973e - Move rendering of PersistedElements into other lifecycle stages

Commit
5 years ago
Move rendering of PersistedElements into other lifecycle stages For https://github.com/vector-im/riot-web/issues/12877 Original error: ``` Warning: Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of PersistedElement. in PersistedElement (created by AppTile) in div (created by AppTile) in div (created by AppTile) in AppTile (created by AppsDrawer) in div (created by AppsDrawer) in div (created by AppsDrawer) in AppsDrawer (created by AuxPanel) in div (created by AutoHideScrollbar) in AutoHideScrollbar (created by AuxPanel) in AuxPanel (created by RoomView) in div (created by RoomView) in div (created by MainSplit) in MainSplit (created by RoomView) in ErrorBoundary (created by RoomView) in main (created by RoomView) in RoomView (created by LoggedInView) in div (created by LoggedInView) in DragDropContext (created by LoggedInView) in div (created by LoggedInView) in LoggedInView (created by MatrixChat) in ErrorBoundary (created by MatrixChat) in MatrixChat ```
Author
Parents
Loading