Как обновить один блок динамической зоны в Strapi 5 (без удаления остальных)

DEV · 18.11.2026 · 23:59

В статье рассматривается проблема обновления отдельных блоков в динамической зоне Strapi 5, где замена одного блока приводит к удалению остальных. Объясняется, как работает обновление…

Читать в источнике

Оригинал

How to update one dynamic zone block in Strapi 5 (without deleting the others)

You have a Strapi 5 page built from a dynamic zone: a hero, a feature grid and a call to action. You want to change the hero's heading and nothing else. So you send an update with the hero block, and the feature grid and the call to action are gone. That is how Strapi 5 writes lists. A dynamic zone, a repeatable component or a rich-text blocks field is replaced as a whole: the array you send becomes the new list, and anything you left out is deleted. The REST API works this way, and so does the