This talk has been presented at React Summit US 2023, check out the latest edition of this React Conference.
Video: Why Redwood Adopted React Server Components
FAQ
Redwood is a full-stack JavaScript TypeScript web application framework that aims to be the best full-stack web app framework. Initially launched as a 'full stack for the Jamstack,' it has evolved to offer a comprehensive suite of tools and integrations.
Redwood integrates with various technologies, including React, GraphQL, Prisma, TypeScript, Vite CLI, and more. It also supports features like authentication, security, and real-time capabilities out of the box.
Yes, Redwood is an independent and open-source project. It is free to use, and the Redwood team is highly collaborative with the community and other technology teams.
Redwood supports server-side rendering (SSR) using React streaming and suspense. This allows for fast, real-time rendering and dynamic updates to the web application.
The 'Bighorn Epoch' is a major phase in Redwood's development focused on being 'all in on React.' This includes aligning closely with the React roadmap and integrating features like React Server Components.
Redwood Server Components (RSC) are an integration of React Server Components into the Redwood framework. They aim to combine server-centric and client-centric models, providing seamless interactivity and efficient data fetching.
A Redwood cell is a higher-order component that handles data fetching and component state in one place. It simplifies the lifecycle management of fetching data and rendering components.
Yes, with the introduction of React Server Components, Redwood aims to offer a transparent API that allows fetching data from any source, not just GraphQL. This makes it easier for developers who prefer not to use GraphQL.
You can get started with Redwood by visiting the official Redwood tutorial, which serves as a comprehensive course on full-stack development with Redwood. For the latest experimental features, you can also check the Redwood community forums.
Available in other languages:
Check out more articles and videos
We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career
Workshops on related topic
During the workshop, you will:
- Maximize code maintainability and scalability with advanced TypeScript practices
- Unleash the performance benefits of React Server Components, surpassing traditional approaches
- Turbocharge your TypeScript with the power of Mapped Types
- Make your TypeScript types more secure with Opaque Types
- Explore the power of Template Literal Types when using Mapped Types
Maurice will virtually be by your side, offering comprehensive guidance and answering your questions as you navigate each exercise. By the end of the workshop, you'll have mastered React Server Components, armed with a newfound arsenal of TypeScript knowledge to supercharge your React applications.
Don't miss this opportunity to elevate your React expertise to new heights. Join our workshop and unlock the potential of React Server Components with TypeScript. Your apps will thank you.
Table of the contents: - Download & Setup: Getting Codux Ready for the Workshop- Project Picker: Cloning and Installing a Demo Project- Introduction to Codux Core Concepts and Its UI- Exercise 1: Finding our Feet- Break- Exercise 2: Making Changes While Staying Effective- Exercise 3: Reusability and Edge Case Validation- Summary, Wrap-Up, and Q&A
You will learn:- How to work with content from headless CMS- How content model can be leveraged to generate TS types and what benefits it brings to your project- How not to use string literals for content in code anymore- How to do rich text resolution into React components- How to minimize or avoid content-related issues before hitting production