Skip to content

Commit

Permalink
Update RFC 0188 with latest RSC module convention (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueLimas authored Mar 4, 2023
1 parent 2348bd8 commit 19c659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0188-server-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Key aspects of this process are described in detail below.

### Capabilities & Constraints of Server and Client Components

> ⚠️ NOTE: This section may feel intimidating, but you don’t need to memorize all of these rules to use Server Components. We have lint rules to help enforce these constraints based on the .server.js and .client.js naming convention. React will also provide clear runtime errors for any violations. While the list of the rules appears long, the intuition is simple: Client Components can’t access server-only features like the filesystem, Server Components can’t access client-only features like state, and Client Components may only import other Client Components.
> ⚠️ NOTE: This section may feel intimidating, but you don’t need to memorize all of these rules to use Server Components. React will provide clear lint, build, and runtime errors for any violations. While the list of the rules appears long, the intuition is simple: Client Components can’t access server-only features like the filesystem, Server Components can’t access client-only features like state, and Client Components may only import other Client Components.
The main new concept introduced in this proposal is **Server Components**. In contrast, **Client Components** are the standard React components that developers are already familiar with: the name “Client Component” doesn’t mean anything new, it’s purely to distinguish them from Server Components. In this section we discuss some important differences between the capabilities of these two types of components.

Expand Down

0 comments on commit 19c659b

Please sign in to comment.