Get a copy of the syntax FM podcast supper club episode from last week. There is a discussion on a possible solution. From memory they pass the DOM to a serverless function that spins up a docker container, runs the dom through a headless browser and use the print API to generate a document into S3 storage and then fetch the link to render in the client browser. Sounds complicated to me.
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (1)
Get a copy of the syntax FM podcast supper club episode from last week. There is a discussion on a possible solution. From memory they pass the DOM to a serverless function that spins up a docker container, runs the dom through a headless browser and use the print API to generate a document into S3 storage and then fetch the link to render in the client browser. Sounds complicated to me.