Skip to content

[DevTools] Make sure named hooks Suspense cache is persisting between elements #21822

@bvaughn

Description

@bvaughn

It currently looks like the map.get(element) returns undefined even for previously-loaded elements. Are we evicting from the cache prematurely? Why?

Our second level caching (inside of parseHookNames) is working but this is still resulting in a lot of unnecessary work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions