Skip to content

Conversation

@smsochneg
Copy link
Contributor

As stated in prosemirror documentation if you have a lot of decorations to render (as in large empty tables) you should not recreate a decoration set for every document update, but rather keep it in plugin state and manage it's mapping and adding/removing of decorations when plugin applies it's state

@smsochneg smsochneg requested a review from d3m1d0v February 20, 2023 07:26
@yc-ui-bot
Copy link
Contributor

Preview is ready.

@smsochneg smsochneg requested a review from shevnv February 21, 2023 09:33
@smsochneg smsochneg merged commit bf8d961 into master Feb 27, 2023
@smsochneg smsochneg deleted the optimise-tables branch February 27, 2023 10:19
makhnatkin pushed a commit that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants