renderToString deprecated? #1474
Replies: 2 comments 1 reply
-
I don't understand, is that a generic React question? The only place where that could be useful in React-PDF that comes to mind is customTextRenderer. Theoretically, renderToString is meant for using React on the server side, and indeed there are methods that make the server more performant and supporting e.g. Suspense. I don't think it's relevant to customTextRenderer. |
Beta Was this translation helpful? Give feedback.
-
So this page: https://react-pdf.org/node#rendertostring has documentation on "renderToString", and it doesn't indicate that it's deprecated, but WebStorm seems to think this is deprecated? |
Beta Was this translation helpful? Give feedback.
-
WebStorm shows renderToString as deprecated - is this true? I can't find any documentation to this effect. If it's true, is there something we should be using instead?
Beta Was this translation helpful? Give feedback.
All reactions