Skip to content

Conversation

@pedrobslisboa
Copy link
Collaborator

@pedrobslisboa pedrobslisboa commented Oct 22, 2025

Description

This PR allows Client Components to have Async Components on their props.
It also get back with the ~pending:1 on render_html that was wrongly removed from it at this PR. To avoid any new mistake like this I added a comment explaining why we need such a thing.

@pedrobslisboa pedrobslisboa self-assigned this Oct 22, 2025
@pedrobslisboa pedrobslisboa added the enhancement New feature or request label Oct 22, 2025
@pedrobslisboa pedrobslisboa requested a review from davesnx October 22, 2025 03:19
@davesnx davesnx merged commit 3f55d4f into main Oct 22, 2025
5 checks passed
@davesnx davesnx deleted the feat/async-el-client branch October 22, 2025 05:24
pedrobslisboa added a commit that referenced this pull request Oct 27, 2025
* origin/main:
  Specify model values at React (#309)
  feat: allow async in client props (#315)
  chore: add context to turn_element_into_payload
  revert: client_value to push
  revert: Fiber abstraction of render_element
  revert: remove push on async component
  revert: remove debug info changes
  chore: add better naming to root_data_payload
  feat: change serialize for to_chunk
  Improve CI (#313)
  feat: improve debugging due to new fiber/model contextg
  Add environtmnet for srr
  Client component's can't be functions
  refact: improve the Fiber and Model stream context
  fix: align Suspense with reason-react (#311)
  fix: adjust doc link on tests
  Fix broken link to browser_ppx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants