React · Senior · Question 12 of 75

Which props can't be passed from a Server Component to a Client Component?

Explanation

Props cross the network, so they must be serializable: primitives, arrays, plain objects, Date, Map, Set, promises, JSX. You can't pass a function - except Server Functions ('use server'), which turn into a reference for calling.

Further reading

Problem with a question

React · Senior · question 12

Test yourself

Take the React · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz