Skip to content
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

Fixed typos where it says size instead of side #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blog/2021-01-03-react-server-component.md
Original file line number Diff line number Diff line change
@@ -17,19 +17,19 @@ React Server Component (CSR) is a new component in React.

Recently, All components in React are client-side component (MyComponent.js) but now you can create them as server-side component by just adding `.server` (MyComponent.server.js).

Anyway client-size component and server-size component work together very well.
Anyway client-side component and server-side component work together very well.

<!--truncate-->

## What new in React Server Component?

### React Server Component allows static content render faster

Server-side components can't have any interactivity like using `useState` hook but they can import client-size components with which the user interact.
Server-side components can't have any interactivity like using `useState` hook but they can import client-side components with which the user interact.

### Won't affect the bundle size

Whatever library you include inside your server component as well as the text content it won't affect the bundle size because it is render on the server.
Whatever library you include inside your server component as well as the text content it won't affect the bundle side because it is render on the server.

### Accessing database directly