Skip to content

Commit

Permalink
no need to unmount on reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Jan 24, 2023
1 parent f7d7e29 commit e9a0fb3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/client/packages/idom-client-react/src/mount.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ function mountLayoutWithReconnectingWebSocket(
socket.onopen = (event) => {
console.info(`IDOM WebSocket connected.`);

if (mountState.everMounted) {
ReactDOM.unmountComponentAtNode(element);
}
_resetOpenMountState(mountState);

mountLayout(element, {
Expand Down

0 comments on commit e9a0fb3

Please sign in to comment.