Why I'm excited about React Server Components (RSC): 1


Why I'm excited about React Server Components (RSC):

1. Smaller JS bundle (Server components add zero K to the bundle)

2. Performance. Fetching starts faster, runs on the server, and the results stream via HTTP streaming.

3. Simple fetching. No useEffect or state!

4. I don't need a REST/GraphQL API to call the DB. I can call the DB directly via SQL, or abstract the DB via a simple service layer. This is MUCH faster than using HTTP. 🔥

5. I can use the same tech on client and server: React.

View original on X