├── .gitignore ├── .prettierignore ├── README.md ├── babel.config.js ├── babel.server.config.js ├── jest.config.js ├── nodemon.json ├── package.json ├── plugin ├── ReactFlightWebpackLoader.ts ├── ReactFlightWebpackNodeLoader.ts ├── ReactFlightWebpackNodeRegister.ts ├── ReactFlightWebpackPlugin.ts └── __tests__ │ ├── ReactFlightWebpackPlugin.spec.ts │ └── fixture │ ├── Form.client.js │ ├── FormServer.server.js │ ├── entry.js │ └── package.json ├── prettier.config.js ├── public ├── checkmark.svg ├── chevron-down.svg ├── chevron-up.svg ├── cross.svg ├── favicon.ico ├── index.html ├── logo.svg └── style.css ├── scripts ├── build.js └── seed.js ├── src ├── App.server.tsx ├── Cache.client.tsx ├── EditButton.client.tsx ├── LocationContext.client.tsx ├── Note.server.tsx ├── NoteEditor.client.tsx ├── NoteList.server.tsx ├── NoteListSkeleton.tsx ├── NotePreview.tsx ├── NoteSkeleton.tsx ├── Root.client.tsx ├── SearchField.client.tsx ├── SidebarNote.client.tsx ├── SidebarNote.tsx ├── Spinner.tsx ├── TextWithMarkdown.tsx ├── db.server.ts ├── index.client.tsx └── reactServer.ts ├── tsconfig.json ├── webpack.client.config.js ├── webpack.config.js ├── webpack.server.config.js ├── webpack ├── ReloadServerPlugin.js └── webpack.config.js ├── webpackx.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/.prettierignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/babel.config.js -------------------------------------------------------------------------------- /babel.server.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/babel.server.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/jest.config.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/package.json -------------------------------------------------------------------------------- /plugin/ReactFlightWebpackLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/ReactFlightWebpackLoader.ts -------------------------------------------------------------------------------- /plugin/ReactFlightWebpackNodeLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/ReactFlightWebpackNodeLoader.ts -------------------------------------------------------------------------------- /plugin/ReactFlightWebpackNodeRegister.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/ReactFlightWebpackNodeRegister.ts -------------------------------------------------------------------------------- /plugin/ReactFlightWebpackPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/ReactFlightWebpackPlugin.ts -------------------------------------------------------------------------------- /plugin/__tests__/ReactFlightWebpackPlugin.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/__tests__/ReactFlightWebpackPlugin.spec.ts -------------------------------------------------------------------------------- /plugin/__tests__/fixture/Form.client.js: -------------------------------------------------------------------------------- 1 | export function Form() { 2 | console.log('Form Rendered!'); 3 | } 4 | -------------------------------------------------------------------------------- /plugin/__tests__/fixture/FormServer.server.js: -------------------------------------------------------------------------------- 1 | export default function Foo() { 2 | console.log('Form!'); 3 | } 4 | -------------------------------------------------------------------------------- /plugin/__tests__/fixture/entry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/plugin/__tests__/fixture/entry.js -------------------------------------------------------------------------------- /plugin/__tests__/fixture/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fixture" 3 | } 4 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/prettier.config.js -------------------------------------------------------------------------------- /public/checkmark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/checkmark.svg -------------------------------------------------------------------------------- /public/chevron-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/chevron-down.svg -------------------------------------------------------------------------------- /public/chevron-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/chevron-up.svg -------------------------------------------------------------------------------- /public/cross.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/cross.svg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/public/style.css -------------------------------------------------------------------------------- /scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/scripts/build.js -------------------------------------------------------------------------------- /scripts/seed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/scripts/seed.js -------------------------------------------------------------------------------- /src/App.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/App.server.tsx -------------------------------------------------------------------------------- /src/Cache.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/Cache.client.tsx -------------------------------------------------------------------------------- /src/EditButton.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/EditButton.client.tsx -------------------------------------------------------------------------------- /src/LocationContext.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/LocationContext.client.tsx -------------------------------------------------------------------------------- /src/Note.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/Note.server.tsx -------------------------------------------------------------------------------- /src/NoteEditor.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/NoteEditor.client.tsx -------------------------------------------------------------------------------- /src/NoteList.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/NoteList.server.tsx -------------------------------------------------------------------------------- /src/NoteListSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/NoteListSkeleton.tsx -------------------------------------------------------------------------------- /src/NotePreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/NotePreview.tsx -------------------------------------------------------------------------------- /src/NoteSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/NoteSkeleton.tsx -------------------------------------------------------------------------------- /src/Root.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/Root.client.tsx -------------------------------------------------------------------------------- /src/SearchField.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/SearchField.client.tsx -------------------------------------------------------------------------------- /src/SidebarNote.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/SidebarNote.client.tsx -------------------------------------------------------------------------------- /src/SidebarNote.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/SidebarNote.tsx -------------------------------------------------------------------------------- /src/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/Spinner.tsx -------------------------------------------------------------------------------- /src/TextWithMarkdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/TextWithMarkdown.tsx -------------------------------------------------------------------------------- /src/db.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/db.server.ts -------------------------------------------------------------------------------- /src/index.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/index.client.tsx -------------------------------------------------------------------------------- /src/reactServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/src/reactServer.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.client.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpack.client.config.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpack.config.js -------------------------------------------------------------------------------- /webpack.server.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpack.server.config.js -------------------------------------------------------------------------------- /webpack/ReloadServerPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpack/ReloadServerPlugin.js -------------------------------------------------------------------------------- /webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpack/webpack.config.js -------------------------------------------------------------------------------- /webpackx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/webpackx.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sibelius/react-server-components-playground/HEAD/yarn.lock --------------------------------------------------------------------------------