tangled
alpha
login
or
join now
danabra.mov
/
overreacted
51
fork
atom
my blog https://overreacted.io
51
fork
atom
overview
issues
pulls
2
pipelines
try activity?
danabra.mov
10 months ago
fa0fd0f1
0e14eb69
+8
-1
2 changed files
expand all
collapse all
unified
split
app
layout.js
next.config.js
+5
-1
app/layout.js
···
8
metadataBase: new URL("https://overreacted.io"),
9
};
10
0
0
11
export default function RootLayout({ children }) {
12
return (
13
<html lang="en" className={serif.className}>
···
26
</Link>
27
</span>
28
</header>
29
-
<main>{children}</main>
0
0
30
</PlausibleProvider>
31
</body>
32
</html>
···
8
metadataBase: new URL("https://overreacted.io"),
9
};
10
11
+
const Activity = Symbol.for("react.activity");
12
+
13
export default function RootLayout({ children }) {
14
return (
15
<html lang="en" className={serif.className}>
···
28
</Link>
29
</span>
30
</header>
31
+
<main>
32
+
<Activity mode="visible">{children}</Activity>
33
+
</main>
34
</PlausibleProvider>
35
</body>
36
</html>
+3
next.config.js
···
1
module.exports = {
2
output: "export",
3
trailingSlash: true,
0
0
0
4
};
···
1
module.exports = {
2
output: "export",
3
trailingSlash: true,
4
+
experimental: {
5
+
viewTransition: true,
6
+
},
7
};