Skip to content
Discussion options

You must be logged in to vote

Yeah that document is explicitly talking about, arguments passed, though not about captured closures, but it follows that everything concerning a server action, is sent to the client, to be used when the client invokes the server action.

Values are encrypted and such, and there's escape hatches, but since, ultimately a server action runs server side, in a different JS context/environment than the one that rendered the component.

I am not sure if this is where the error you've got starts, but that linked code, shows how the entire server action is replayed, within a fake scope, so to spe…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@icyJoseph
Comment options

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