Client Component in Server Page
Answered
Transvaal lion posted this in #help-forum
Transvaal lionOP
Is there a way to do this without moving the client function to its own file?
Answered by riský
client components have to be made in separate files, you can't do it like server actions (as cool as that sounds)
2 Replies
@Transvaal lion Is there a way to do this without moving the client function to its own file?
client components have to be made in separate files, you can't do it like server actions (as cool as that sounds)
Answer
Transvaal lionOP
ok, thx