Skip to content

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Feb 22, 2024

Add a suspense-aware hook for when the view is ready. onViewReadySuspense(getter) will evaluate getter and return the result when the view is mounted.

@floryst
Copy link
Contributor Author

floryst commented Feb 22, 2024

I'm not ready to merge this just yet, since I think there is one issue with how I'm handling suspense.

@floryst floryst marked this pull request as draft February 22, 2024 18:34
Add an example usage for how to use the useViewReadySuspense hook.
@floryst floryst marked this pull request as ready for review March 1, 2024 22:37
@floryst floryst merged commit c4e287e into beta Mar 1, 2024
@floryst floryst deleted the suspense-hook branch March 1, 2024 22:37
@jourdain
Copy link
Collaborator

jourdain commented Mar 1, 2024

🎉 This PR is included in version 2.0.0-beta.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jourdain
Copy link
Collaborator

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants