3 ms·
Makes sense! We have the same setup. FWIW, it's nice to do the React rendering on the backend because it's a bit easier to pass values to those templates direct
by rdgthree 6y ago
Makes sense! We have the same setup. FWIW, it's nice to do the React rendering on the backend because it's a bit easier to pass values to those templates directly (as opposed to using URL params or something). We render the React to a string there, then just pass that HTML string to a Browserless[0] instance.
Certainly not a showstopper though, passing a URI is easy enough!
[0]https://docs.browserless.io/docs/pdf.html https://docs.browserless.io/docs/pdf.html