dream-num / dream-num/luckysheet-react

Luckysheet is initialized twice due to componentDidMount being called multiple times

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
80
Forks
33
PR merge metrics
No merged PRs in 30d

Description

`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...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.