Files
Shu DingandGitHub a96a9b0791 Fix client reference manifest for interception routes (#52961)
We have the logic to group the client compiler's entry names to make sure we generate one single manifest file for the page. This is complicated and requires a special step to "group" the entry names because a page can depend on a bunch of files from everywhere.

And currently, the normalization of "entryName → groupName" doesn't cover interception routes' conventions (`(.)`, `(..)` and `(...)`). This PR fixes that.

Closes #52862, closes #52681, closes #52958.
2023-07-20 20:06:44 +00:00

9 lines
179 B
TypeScript

'use client'
import { useState } from 'react'
export function Client() {
const value = useState('client component')[0]
return <p id="interception-slot-client">{value}</p>
}