Skip to content

Generate boostrap.js file with client component refs#193

Merged
davesnx merged 33 commits intomainfrom
Create-client-components-ref-map
Jan 8, 2025
Merged

Generate boostrap.js file with client component refs#193
davesnx merged 33 commits intomainfrom
Create-client-components-ref-map

Conversation

@davesnx
Copy link
Member

@davesnx davesnx commented Dec 10, 2024

This PR adds:

  • We generate boostrap.js from a hardoded list of sexps
  • Provide a react.client.component transformation as a contination of RSC syntax ppx #196
  • Depend on melange-json and melange-json-native

@davesnx davesnx force-pushed the Create-client-components-ref-map branch from 9074997 to 022163a Compare December 10, 2024 09:24
@davesnx davesnx force-pushed the Create-client-components-ref-map branch from a0976bf to e4ebc3c Compare December 11, 2024 11:31
@davesnx davesnx force-pushed the Create-client-components-ref-map branch from e4ebc3c to 1d5e34c Compare December 11, 2024 11:35
… into Create-client-components-ref-map

* 'main' of github.com:ml-in-barcelona/server-reason-react:
  Use the right extension syntax on promise.js (#194)
@davesnx davesnx changed the title Move esbuild cli to script Generate boostrap.js file with client component refs Dec 12, 2024
@davesnx davesnx force-pushed the Create-client-components-ref-map branch from cb5fda7 to 5da84ba Compare December 12, 2024 18:18
@davesnx davesnx force-pushed the Create-client-components-ref-map branch from ccf2eb0 to 14aaac7 Compare January 8, 2025 12:37
@davesnx davesnx marked this pull request as ready for review January 8, 2025 19:01
@davesnx davesnx merged commit 481c15d into main Jan 8, 2025
2 checks passed
@davesnx davesnx deleted the Create-client-components-ref-map branch January 8, 2025 19:02
pedrobslisboa added a commit that referenced this pull request Jan 24, 2025
…essions

* origin/main:
  Fix renderToStream (#200)
  Run extract-client-components as an esbuild plugin (#199)
  delete rfc for manifest
  rewrite demo names for files
  Automatic bootstrap generation and fix some client props (#198)
  Generate boostrap.js file with client component refs (#193)
  feat: upgrade ocamlformat to 0.27.0 (#197)
  RSC syntax ppx (#196)
  Add test for promise value
  Add test for props as a children
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