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

feat: findComponent can find component inside a Suspense #168

Merged

Conversation

@cexbrayat
Copy link
Collaborator

@cexbrayat cexbrayat commented Jul 30, 2020

Slightly updates the find implementation to:

  • check the suspense subtree if it is resolved
  • check the suspense fallbackTree otherwise

A test has been added to check if we can find a component in both cases.

Slightly updates the find implementation to:
- check the suspense `subtree` if it is resolved
- check the suspense `fallbackTree` otherwise

A test has been added to check if we can find a component in both cases.
Copy link
Contributor

@dobromir-hristov dobromir-hristov left a comment

Very nice, dont remember this being there when I tried heh.

@lmiller1990
Copy link
Member

@lmiller1990 lmiller1990 commented Aug 1, 2020

@dobromir-hristov not do I - maybe it was added after. Glad we have this now!

@lmiller1990 lmiller1990 merged commit 6cb26ee into vuejs:master Aug 1, 2020
2 checks passed
2 checks passed
build (10.x)
Details
build (12.x)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.