Skip to content

Await list data (instead of single value) #434

Answered by Tao-VanJS
RobinManoli asked this question in Q&A
Discussion options

You must be logged in to vote

For Await component, you specify a children parameter with function type (data: T) => ValidChildDomValue. Thus you can fetch anything in Await - lists, complex json objects, etc, as long as your children parameter takes the thing you fetched as input.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RobinManoli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants