luckysheet-react icon indicating copy to clipboard operation
luckysheet-react copied to clipboard

Luckysheet is initialized twice due to componentDidMount being called multiple times

Open namoshizun opened this issue 3 years ago • 0 comments

Luckysheet.componentDidMount is called twice because index.js uses React.StrictMode. When in multi-user collaboration (enabled allowUpdate and loadUrl etc), this caused the session to hang at "waiting for update". Although I'm not sure why that happened, remove the strict mode does help...

namoshizun avatar Sep 11 '22 11:09 namoshizun