aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-create-react-app/src/index.jsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-05 15:18:13 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-05 15:18:13 -0700
commitfb4feea8c378704a1da6ec5bbdd3066b9a5f751f (patch)
tree459447bc7d3c84e184490f0f9d8c25ab9311f98e /examples/hello-create-react-app/src/index.jsx
parent4749669e741ae522f2e0870ec5ea1b6c1fa832ad (diff)
downloadbun-fb4feea8c378704a1da6ec5bbdd3066b9a5f751f.tar.gz
bun-fb4feea8c378704a1da6ec5bbdd3066b9a5f751f.tar.zst
bun-fb4feea8c378704a1da6ec5bbdd3066b9a5f751f.zip
aarch64 build.zig
Former-commit-id: 701ec4668e8f8276c207d92487633857d2db5ead
Diffstat (limited to 'examples/hello-create-react-app/src/index.jsx')
-rw-r--r--examples/hello-create-react-app/src/index.jsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/hello-create-react-app/src/index.jsx b/examples/hello-create-react-app/src/index.jsx
new file mode 100644
index 000000000..26419cdcb
--- /dev/null
+++ b/examples/hello-create-react-app/src/index.jsx
@@ -0,0 +1,17 @@
+import * as React from "react";
+import ReactDOM from "react-dom";
+import "./index.css";
+import App from "./App";
+import reportWebVitals from "./reportWebVitals";
+
+ReactDOM.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>,
+ document.getElementById("root")
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();