SSR how to pass a server variable to client on render?


I’m using Flow-router to do server-side rendering, but I need to pass to the client a variable (the POST payload done by a payment gateway), how to do this on server render?


I’m using FineRouter (aka FlowRouter) now. Are you using the FlowRouter ssr branch to do server side rendering with flow router?


I’m using Flow-router with react-mounter to route and render the views in the server and in the client. using as base code this example