From 53a61474c6d6111ea978a814016f7c76837afcff Mon Sep 17 00:00:00 2001 From: Tim0theus Date: Fri, 26 May 2023 15:27:15 +0200 Subject: [PATCH] Restored app.jsx --- NodeReact.Sample/ClientApp/components/App.jsx | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 NodeReact.Sample/ClientApp/components/App.jsx diff --git a/NodeReact.Sample/ClientApp/components/App.jsx b/NodeReact.Sample/ClientApp/components/App.jsx new file mode 100644 index 0000000..2ed9d33 --- /dev/null +++ b/NodeReact.Sample/ClientApp/components/App.jsx @@ -0,0 +1,26 @@ +import React from "react"; +import RootComponent from "./RootComponent"; +import HelloWorld from "./HelloWorld"; + +const App = ({ ...props }) => { + return ( + + + + + {props.title} + { + //DONT use defer or preload for hydration SCRIPTS, use async https://github.com/reactwg/react-18/discussions/114 --> + } + + + + + + + + + ); +}; + +export default App;