Fix missing playground snapshot

ghstack-source-id: f2c8a542b525ab8c91beaad6327c128a96d122f6
Pull Request resolved: https://github.com/facebook/react-forget/pull/2827
This commit is contained in:
Lauren Tan
2024-04-08 11:23:29 -04:00
parent 9a6cb24150
commit 5bf2323880
@@ -0,0 +1,11 @@
function MyApp() {
  const $ = useMemoCache(1);
  let t0;
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
    t0 = <div>Hello World</div>;
    $[0] = t0;
  } else {
    t0 = $[0];
  }
  return t0;
}