mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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.
9 lines
179 B
TypeScript
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>
|
|
}
|