-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use NcReferenceList in whiteboard #73
Conversation
01c7672
to
2932ae5
Compare
Forgot to paste from our call notes:
|
2a53186
to
7e3183c
Compare
|
||
// embeddables get updated a lot by the excalidraw library when collaboration is active | ||
// we need to filter out useless updates to not rerender every millisecond. | ||
// current master of the excalidraw library probably fixes this issue but it's not available in excalidraw@latest (0.17.6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checking if the objects are DeepEqual is a workaround. Not entirely certain, but I do think if we could use the lib like excalidraw.com does here: https://github.com/excalidraw/excalidraw/blob/master/excalidraw-app/collab/Collab.tsx#L751 we would not need this workaround. However I couldn't figure out how to use the master version of excalidraws library in our build process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, being able to build from master or another branch/a fork there is something that could certainly be useful, but we can check that separately
cf97925
to
4f1832e
Compare
Signed-off-by: grnd-alt <[email protected]>
stop infinite rerending when collaborating Signed-off-by: grnd-alt <[email protected]>
4f1832e
to
ff860c2
Compare
Signed-off-by: grnd-alt <[email protected]>
ff860c2
to
b0c97fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works like a charm 👍
resolves: #9