Documents
edit-view-layout-and-list-view-layout-rewritten
edit-view-layout-and-list-view-layout-rewritten
Type
External
Status
Published
Created
Mar 5, 2026
Updated
Mar 6, 2026
Updated by
Dosu Bot

import Intro from '/docs/snippets/breaking-change-page-intro.md'
import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md'

The EditViewLayout and ListViewLayout have been rewritten#

In Strapi 5, some admin panel hooks have been removed from the Redux store and a new useDocumentLayout hook is introduced.

Breaking change description#

In Strapi v4

The content-manager_editViewLayoutManager and content-manager_listViewLayoutManager hooks can be used.

In Strapi 5

  • The content-manager_editViewLayoutManager and content-manager_listViewLayoutManager have been removed from the Redux store.
  • A new useDocumentLayout hook is available.

Migration#

Notes#

Additional information about hooks can be found in the Admin Panel API for plugins documentation.

Manual procedure#

Plugins developers taking advantage of the content-manager_editViewLayoutManager and content-manager_listViewLayoutManager hooks in their plugins need to refactor their code.