![]() ![]() ![]() Instead of React rendering your whole application client-side (such as in the case of Single-Page Applications), React now gives you the flexibility to choose where to render your components based on their purpose.įor example, consider a page in your application: Similar to how React changed the way we think about building UIs, React Server Components introduce a new mental model for building hybrid applications that leverage the server and the client. Server and Client Components allow developers to build applications that span the server and client, combining the rich interactivity of client-side apps with the improved performance of traditional server rendering. Here are some great resources for learning: If you're new to React, we also recommend referring to the React Docs. This page will go through the differences between Server and Client Components, when to use them, and recommended patterns. To build applications with Next.js, it helps to be familiar with React's newer features such as Server Components. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |