AFFiNE
AFFiNE copied to clipboard
Perf improvement, ResizePanel component re-rendered too many times.
What happened?
I don't know if it's a design consideration. ResizePanel children will re-render many times when dragging resizehandle. FWIW. I think it should be like the second half of the video.
https://github.com/toeverything/AFFiNE/assets/45007226/4d07d01a-f6d5-4c38-8ca9-ead0a91d7f19
Flag
Distribution version
Linux
What browsers are you seeing the problem on if you're using web version?
Chrome
Relevant log output
No response
Anything else?
No response
Are you willing to submit a PR?
- [x] Yes I'd like to help by submitting a PR!