SDK: Create DotCMSPageBody
React Component to render page content
#31178
Labels
DotCMSPageBody
React Component to render page content
#31178
Caution
GitHub Issue Blocked by: #31134
Parent Issue
#30943
Background
The
DotcmsLayout
component was originally designed to render the page and listen for changes from the UVE. However, its responsibilities have grown too complex by combining layout rendering with editor-specific logic. To address this, we will deprecate theDotcmsLayout
component and introduce a new, cleaner component calledDotCMSPageBody
.DotCMSPageBody
will focus solely on rendering the content, ensuring a separation of concerns. UVE-related logic will no longer be included in this component, and developers can rely on other mechanisms for editor communication.Tasks
Proposed Objective
Same as Parent Issue
Proposed Priority
Priority 3 - Average
Acceptance Criteria
Important
Make sure the
withExperiments
works with this new component.DotcmsLayout
.DotCMSPageBody
.Pseudo-code
Use Case
Important
The new implementation should emphasize simplicity and flexibility.
Quality Assurance Notes
DotCMSPageBody
with and without thecomponents
prop to ensure both scenarios are functional.Sub-Tasks & Estimates
DotcmsLayout
as deprecated in the SDK (2h).DotCMSPageBody
as a standalone component (8h).The text was updated successfully, but these errors were encountered: