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
8
metadataBase: new URL("https://overreacted.io"),
9
9
};
10
10
11
11
+
const Activity = Symbol.for("react.activity");
12
12
+
11
13
export default function RootLayout({ children }) {
12
14
return (
13
15
<html lang="en" className={serif.className}>
···
26
28
</Link>
27
29
</span>
28
30
</header>
29
29
-
<main>{children}</main>
31
31
+
<main>
32
32
+
<Activity mode="visible">{children}</Activity>
33
33
+
</main>
30
34
</PlausibleProvider>
31
35
</body>
32
36
</html>
+3
next.config.js
···
1
1
module.exports = {
2
2
output: "export",
3
3
trailingSlash: true,
4
4
+
experimental: {
5
5
+
viewTransition: true,
6
6
+
},
4
7
};