Next.js Discord

Discord Forum

does a "use server " component change the parameters of a funciton to objects ?

Unanswered
Short-tailed Albatross posted this in #help-forum
Open in Discord
Avatar
Short-tailed AlbatrossOP
i have been sending parameters as string to a function that is in a "use server" component. the file contains a few setters and getters ( basic CRUD) but the string that is recieved from the component file becomes an object in the function parameter.
does this behaviour sound normal?

1 Reply

Avatar
#rafaelLive'sMatter
Can you send your code please.