server-components-demo icon indicating copy to clipboard operation
server-components-demo copied to clipboard

Demo app of React Server Components.

Results 24 server-components-demo issues
Sort by recently updated
recently updated
newest added

Leave a comment

Hi! I am interested in learning the appropriate strategy to use RSC in combination with SSR. Currently, I am attempting to hydrate the DOM with the result of the RSC,...

So i was wondering if we can write unit tests for server side components using just ? since the the return data from server side components when return from server...

I just follow the readme to run the demo, and encountered below ![image](https://user-images.githubusercontent.com/24504081/103118474-01972780-46aa-11eb-9b57-8a877a695f75.png) could anyone give any hints?

remove reduntant 'title' props

Fixes #60 Previously, if you had ```js export default function App({ selectedId, isEditing, searchText, something = ['a', 'b'], }) { const [a, b] = something; console.log(a, b); ``` this would...

As mentioned (in more detail) at https://github.com/facebook/react/issues/23126#issuecomment-1301880271 If you use [destructuring assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) in a server component, you get a babel error: ```console /server-components-demo/src/App.server.js:141 undefined ^ Error [ERR_REQUIRE_ESM]: require() of ES...

Is it possible to use server components with react-native?

Esbuild turns out to be very very fast then webpack, so is there any plan to switch to esbuild.