You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for making this package, it's been really useful for our client-side React projects. When we attempt to server render our React code , however, using the renderToStaticMarkup() method available from ReactDOMserver, it renders empty SVG tags. While looking through the code, it appears that the SVG rendering requires that the target environment be an actual DOM. Is there any way to make this package compatible with a non-browser environment?
The text was updated successfully, but these errors were encountered:
First of all, thanks for making this package, it's been really useful for our client-side React projects. When we attempt to server render our React code , however, using the
renderToStaticMarkup()
method available fromReactDOMserver
, it renders empty SVG tags. While looking through the code, it appears that the SVG rendering requires that the target environment be an actual DOM. Is there any way to make this package compatible with a non-browser environment?The text was updated successfully, but these errors were encountered: