{"action":"created","issue":{"url":"https://api.github.com/repos/diegomura/react-pdf/issues/269","repository_url":"https://api.github.com/repos/diegomura/react-pdf","labels_url":"https://api.github.com/repos/diegomura/react-pdf/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/diegomura/react-pdf/issues/269/comments","events_url":"https://api.github.com/repos/diegomura/react-pdf/issues/269/events","html_url":"https://github.com/diegomura/react-pdf/issues/269","id":346466527,"node_id":"MDU6SXNzdWUzNDY0NjY1Mjc=","number":269,"title":"Rendering on the server with Express","user":{"login":"SachaG","id":358832,"node_id":"MDQ6VXNlcjM1ODgzMg==","avatar_url":"https://avatars3.githubusercontent.com/u/358832?v=4","gravatar_id":"","url":"https://api.github.com/users/SachaG","html_url":"https://github.com/SachaG","followers_url":"https://api.github.com/users/SachaG/followers","following_url":"https://api.github.com/users/SachaG/following{/other_user}","gists_url":"https://api.github.com/users/SachaG/gists{/gist_id}","starred_url":"https://api.github.com/users/SachaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SachaG/subscriptions","organizations_url":"https://api.github.com/users/SachaG/orgs","repos_url":"https://api.github.com/users/SachaG/repos","events_url":"https://api.github.com/users/SachaG/events{/privacy}","received_events_url":"https://api.github.com/users/SachaG/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-01T06:37:09Z","updated_at":"2018-08-01T18:12:29Z","closed_at":"2018-08-01T07:26:13Z","author_association":"NONE","body":"The documentation mentions how to render a PDF to a file, but what about doing it dynamically via an Express route?\r\n\r\nMy use case is rendering a PDF for a booking contract. So for example, accessing the URL `/booking/foo123/contract` would fetch the booking info, pass them on to the component as props, and then produce the corresponding contract as PDF. \r\n\r\nWhat's the best way to achieve this?"},"comment":{"url":"https://api.github.com/repos/diegomura/react-pdf/issues/comments/409669905","html_url":"https://github.com/diegomura/react-pdf/issues/269#issuecomment-409669905","issue_url":"https://api.github.com/repos/diegomura/react-pdf/issues/269","id":409669905,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTY2OTkwNQ==","user":{"login":"rogierslag","id":2778689,"node_id":"MDQ6VXNlcjI3Nzg2ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/2778689?v=4","gravatar_id":"","url":"https://api.github.com/users/rogierslag","html_url":"https://github.com/rogierslag","followers_url":"https://api.github.com/users/rogierslag/followers","following_url":"https://api.github.com/users/rogierslag/following{/other_user}","gists_url":"https://api.github.com/users/rogierslag/gists{/gist_id}","starred_url":"https://api.github.com/users/rogierslag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogierslag/subscriptions","organizations_url":"https://api.github.com/users/rogierslag/orgs","repos_url":"https://api.github.com/users/rogierslag/repos","events_url":"https://api.github.com/users/rogierslag/events{/privacy}","received_events_url":"https://api.github.com/users/rogierslag/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T18:12:29Z","updated_at":"2018-08-01T18:12:29Z","author_association":"CONTRIBUTOR","body":"Soon(ish) I'll fixup that project to work with the 1.0.0 release, and add a bunch of docs. That way you can use it as a drop-in to render your documents."}}
{"actor":{"display_login":"rogierslag"}}