From d09194f05a372e3ed136aa288ae76cae8c1dc641 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 20 Jun 2021 18:15:13 -0700 Subject: Support live-reload and fallback Former-commit-id: c3f9d77391589b65951616a632af87107fba469f --- demos/react-fast-refresh-test/src/components/app.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 demos/react-fast-refresh-test/src/components/app.tsx (limited to 'demos/react-fast-refresh-test/src/components/app.tsx') diff --git a/demos/react-fast-refresh-test/src/components/app.tsx b/demos/react-fast-refresh-test/src/components/app.tsx new file mode 100644 index 000000000..2edc02545 --- /dev/null +++ b/demos/react-fast-refresh-test/src/components/app.tsx @@ -0,0 +1,14 @@ +import * as React from "react"; +import { Button } from "./Button"; +import { RenderCounter } from "./RenderCounter"; +export function App() { + return ( + +
+

This is the root element

+ + +
+
+ ); +} -- cgit v1.2.3