Tried to call a server defined function from React component and doesnt work as functions cant be serialized

CallServer rendered

(cant accept a callback as a prop)

RenderServerData rendered

This message was generated on the server!