Files
Josh StoryandGitHub 766b7cbff4 Stabilize unstable_io (#93621)
Removes the unstable prefix from `unstable_io`. Since this was only
shipped in canaries with the unstable prefix we are going to just remove
it without retaining the unstable prefix simultaneously.
2026-05-07 16:39:37 -07:00

15 lines
300 B
TypeScript

import React from 'react'
import { io } from 'next/cache'
export default function PagesUse() {
if (typeof React.use === 'function') {
React.use(io())
}
return (
<>
<p>This page calls React.use(io()) in the component body.</p>
<div id="pages-content">ok</div>
</>
)
}