diff --git a/compiler/apps/playground/app/layout.tsx b/compiler/apps/playground/app/layout.tsx index 630e7d1671..204d048f9f 100644 --- a/compiler/apps/playground/app/layout.tsx +++ b/compiler/apps/playground/app/layout.tsx @@ -12,6 +12,7 @@ export default function RootLayout({ }: { children: React.ReactNode; }) { + "use no forget"; return ( diff --git a/compiler/apps/playground/babel.config.js b/compiler/apps/playground/babel.config.js new file mode 100644 index 0000000000..07c3670088 --- /dev/null +++ b/compiler/apps/playground/babel.config.js @@ -0,0 +1,16 @@ +module.exports = function (api) { + api.cache(true); + return { + presets: ["next/babel"], + plugins: [ + [ + "babel-plugin-react-forget", + { + gating: null, + compilationMode: "infer", + panicThreshold: "NONE", + }, + ], + ], + }; +};