Netlify-cms: Editing peformance is rough for large lists

Created on 12 Mar 2020  路  5Comments  路  Source: netlify/netlify-cms

Describe the bug

When authoring in a large list, there are long pauses between keystrokes.

To Reproduce

  • Go to https://www.netlifycms.org/admin/#/collections/updates/entries/releases
  • Edit one of the list items
  • Expected behavior

    Updates should be snappy.

    Applicable Versions:
    CMS 2.10.31

    Additional context

    This is a long known issue, just needed to be documented. shouldComponentUpdate is currently set to always update on lists because the list widget doesn't know if it's children require updates from whatever state change is coming down.

    I'm certain we can be smarter about this logic. If we can get a quick easy win, let's at least prioritize it. If it's likely to be a bigger lift, let's just get some thoughts down and prioritize later.

    An improvement here will likely improve perf across the editor, or at least pave the way for general perf improvement.

    performance ueditor confirmed bug

    Most helpful comment

    Hello! Do you guys recommend a workaround about this issue?

    All 5 comments

    Hello! Do you guys recommend a workaround about this issue?

    this is still happening, neither this one or #2009 seems to be fixed, my project needs a massive refactor for working around this putting each entry in its own file, when can we expect a fix please?

    Hi @erezrokah,
    is there any news on this issue? We're very close to deliver the project to the client, but this issue is so severe that will stop the delivery. If I remember well you're working on it.

    My best

    Hi @magomimmo, no progress so far. I had to shift focus to other issues.

    Thanks @erezrokah, we'll see what we can do about it. Eventually we'll ask you some suggestions on the best way you think it's needed to fix it and what are the minimum requirement from you're side.

    Was this page helpful?
    0 / 5 - 0 ratings

    Related issues

    TomPichaud picture TomPichaud  路  3Comments

    chriskirknielsen picture chriskirknielsen  路  3Comments

    dur41d picture dur41d  路  3Comments

    jake-101 picture jake-101  路  3Comments

    ciokan picture ciokan  路  3Comments