From 76adc5be8a4f35730bbd81f06f043073e7160af8 Mon Sep 17 00:00:00 2001
From: Colin McDonnell <colinmcd94@gmail.com>
Date: Tue, 4 Apr 2023 16:26:40 -0700
Subject: Add npm benchmark (#2555)

* Add install bench

* Update scripts and readme

* remove lockfiles

* Format bench

* Add dev instructions
---
 bench/install/app/entry.client.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 bench/install/app/entry.client.tsx

(limited to 'bench/install/app/entry.client.tsx')

diff --git a/bench/install/app/entry.client.tsx b/bench/install/app/entry.client.tsx
new file mode 100644
index 000000000..186cd9344
--- /dev/null
+++ b/bench/install/app/entry.client.tsx
@@ -0,0 +1,18 @@
+/**
+ * By default, Remix will handle hydrating your app on the client for you.
+ * You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨
+ * For more information, see https://remix.run/docs/en/main/file-conventions/entry.client
+ */
+
+import { RemixBrowser } from "@remix-run/react";
+import { startTransition, StrictMode } from "react";
+import { hydrateRoot } from "react-dom/client";
+
+startTransition(() => {
+  hydrateRoot(
+    document,
+    <StrictMode>
+      <RemixBrowser />
+    </StrictMode>,
+  );
+});
-- 
cgit v1.2.3

