Skip to content

Add page on server components #1079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 28, 2025
Merged

Conversation

nojaf
Copy link
Member

@nojaf nojaf commented Jul 28, 2025

I played with RSC over the weekend.
Here is what I learned.

Copy link

vercel bot commented Jul 28, 2025

@nojaf is attempting to deploy a commit to the ReScript Association Team on Vercel.

A member of the Team first needs to authorize it.

@react.component
let make = async () => {
// fetch some data from somewhere
let data = await getData()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be cool if we could actually do something with data

@fhammerschmidt
Copy link
Member

it's a nice and short intro into SCs with ReScript. But the examples could be a little bit more realworldy. You know as if they were taken right out of an example app (which we also need to add to create-rescript-app someday)

@nojaf
Copy link
Member Author

nojaf commented Jul 28, 2025

I don't believe the examples need further elaboration. This content isn't intended to teach RSC; it only aims to highlight ReScript-specific elements.

@nojaf nojaf merged commit b94e738 into rescript-lang:master Jul 28, 2025
1 of 2 checks passed
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.

2 participants