Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalise loading of multiple Suspense-aware components #1078

Merged
merged 1 commit into from
May 2, 2019

Conversation

jesstelford
Copy link
Contributor

@jesstelford jesstelford commented May 2, 2019

PR best viewed with whitespace disabled

Following on from #1077, this PR makes some of the code more generic (and adds tests!) so that following PRs can apply the pattern to Cell & Filter also.

@changeset-bot
Copy link

changeset-bot bot commented May 2, 2019

✅ This PR has a changeset ✅
Latest commit: db9f615

Click here to learn what changesets are.

* single Promise, which is itself rethrown.
* If no Promises are thrown, this is the equivalent of a .map
*/
export const captureSuspensePromises = executors => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jesstelford jesstelford merged commit c910244 into master May 2, 2019
@jesstelford jesstelford deleted the parallel-data-and-views branch May 2, 2019 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants