mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Follow-up to #68056, adding support for export default declarations with function expressions, e.g.: ```tsx export default function Page() { useEffect(() => {}) } ``` Enabling this feature will be done in a future PR.
7 lines
152 B
JavaScript
7 lines
152 B
JavaScript
export default () => {
|
|
useLayoutEffect(() => {})
|
|
useEffect(() => {})
|
|
const onClick = useCallback(() => [])
|
|
const computed = useMemo(() => {})
|
|
}
|