Skip to content
Discussion options

You must be logged in to vote

Just a heads up. When using server actions to fetch data, you are opting into sequential requests. In the client the functions calls are queued, and even if you call them with Promise.all or anything like that, they'll resolve one after the other.

The server can of course, process them as needed, there's no queue server side.

The primary use of these is to mutate data.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jparouca
Comment options

@icyJoseph
Comment options

@jparouca
Comment options

@jparouca
Comment options

@icyJoseph
Comment options

Answer selected by alamenai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants