Skip to content

Replace DevTools mutable Suspense cache with newer Cache API #20494

@bvaughn

Description

@bvaughn
Contributor

Follow up to PR #20463 and 5d10e41

It would be nice to replace the outdated cache API currently used in DevTools with a newer one that's compatible with APIs like useTransition. This would allow DevTools to better handle UX like clearing errors/warnings for the inspected element without needing to immediately poll for new data. (Currently it's either that or show an awkward second or two delay after you click the button before anything appears to happen.)

Activity

github-actions

github-actions commented on Apr 10, 2024

@github-actions

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions

github-actions commented on Apr 17, 2024

@github-actions

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Resolution: StaleAutomatically closed due to inactivityStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @bvaughn@gaearon

      Issue actions

        Replace DevTools mutable Suspense cache with newer Cache API · Issue #20494 · facebook/react