Skip to content

fix: Use React.Suspense on col.renderedCells#10

Open
fahri-r wants to merge 2 commits intoitalodr:mainfrom
fahri-r:main
Open

fix: Use React.Suspense on col.renderedCells#10
fahri-r wants to merge 2 commits intoitalodr:mainfrom
fahri-r:main

Conversation

@fahri-r
Copy link
Copy Markdown

@fahri-r fahri-r commented Oct 5, 2025

20251005_144654

Hi there, I'm using payloadcms 3.58.0 and find out this plugin doesn't render the value on the list.

Issue:
The table columns (col.renderedCells) were returning React.lazy elements.

Resolution:
Updated the rendering logic to render the cell element directly inside a React.Suspense boundary. This ensures that lazy-loaded components are properly resolved and displayed, while providing a fallback () during loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant