Next.js Discord

Discord Forum

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

Short-tailed Albatross posted this in #help-forum
Open in Discord
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

Can you send your code please.