Skip to content

Investigate Server-Side Rendering (SSR) Error in DocumentTypeDocumentsPage #439

@DennisAlund

Description

@DennisAlund

Description:
There is an issue where the DocumentTypeDocumentsPage component is being detected as a server-rendered component despite using the "use client" directive. This issue needs to be explored further to determine the root cause and potential solutions.

Steps Identified:

  • The component still triggers SSR-related errors even though the "use client" directive is used.
  • The problem persists when the component is built, suggesting there may be an issue with how the component is being processed during the build or rendering phase.

Actions:

  • Investigate why the component is being detected as a server-rendered component despite the use of "use client".
  • Explore potential fixes or workarounds to prevent SSR errors from occurring in this context.
  • Consider placing this issue in the technical debt backlog for further exploration after deployment to app hosting.

Additional Context:
This issue was flagged as technical debt during the review process of PR #435, and further exploration is required post-deployment to app hosting to assess the impact and potential solutions.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions