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

From: https://github.com/reactjs/server-components-demo/pull/50 > gaearon commented 11 hours ago > why is the data empty? > gaearon commented 6 hours ago > i'll close because it's not supposed to be empty....

Run after installed dependencies met such error: ``` import React,{Suspense} from 'react'; ^^^^^^ SyntaxError: Cannot use import statement outside a module ```

Uncaught Error: Element type is invalid. Received a promise that resolves to: [object Object]. Lazy element type must resolve to a class or function.

This demo looks promising - I recall the mention of the need for a new router (from the [video](https://youtu.be/TQQPAU21ZUw) presenting the demo)? I don't know who is working on this...

What do you think it is a good implementation for the webpack plugin for the server? It should be similar to react server dom webpack node custom register? Should we...

In `renderReactTree` the following block of code is only required once at runtime: ``` await waitForWebpack(); const manifest = readFileSync( path.resolve(__dirname, '../build/react-client-manifest.json'), 'utf8' ); const moduleMap = JSON.parse(manifest); ``` In...

The demo is great and the performances are impressive. More and more, Web apps use State While Revalidate for remote data fetching thanks to excellent libraries as SWR, react-query and...

Just curious, what's the story/plan for support?

It seems using react-fetch purely on the client side (with all react versions on `0.0.0-experimental-3310209d0`) it doesn't match what you see on the server, I get promises that aren't unwrapped....

I suggest we add how to run postgres using docker in README.md so all instruction to run this demo will be in one place.