Skip to content

[DevTools] Skip loading and parsing source for unnamed built-in hooks #21834

Closed
@bvaughn

Description

@bvaughn

Hooks like useEffect or useLayoutEffect will never have names, so if a the only hooks for a given source file are these "unnamed" built-in hooks, we should skip loading the source code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions