internal/planning/server-functions-implementation/01-initial-plan.md
Server Functions allow Client Components to call async functions executed on the server.
Next.js framework re-render the whole app when a server action is executed, so all server components re-render and get latest server state.
It executes the server function without re-rendering the app.
react-on-rails-rsc webpack loader. Seems that the webpack loader currently doesn't transform the server functions on the client bundle. However, the react node loader at React repo seems that it looks for the "user server" directive and transform the server functions. Debug to find out why the server functions are not transformed inside react on rails pro dummy app client bundle.callServer function on client side that generates the server action id, encodes the server action arguments and send them to the back-end.