Fix missing playground snapshot
ghstack-source-id: f2c8a542b525ab8c91beaad6327c128a96d122f6 Pull Request resolved: https://github.com/facebook/react-forget/pull/2827
Lauren Tan committed
Apr 8, 2024 at 11:23 UTC
5bf2323880ec6e00b21d2cbaea98ce9dbf83dbeb
1 file changed
+11
compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/results.txt
new
+11
@@ -0,0 +1,11 @@
1
+function MyApp() {
2
+ const $ = useMemoCache(1);
3
+ let t0;
4
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
5
+ t0 = <div>Hello World</div>;
6
+ $[0] = t0;
7
+ } else {
8
+ t0 = $[0];
9
+ }
10
+ return t0;
11
+}
\ No newline at end of file