lukejacksonn/es-react

ReactDOMServer

dburles opened this issue ยท 5 comments

Thanks for putting this together! Would it be difficult to also expose ReactDOMServer? I'm wanting to experiment with SSR.

Hey man! Errm, I have never used ReactDOMServer.. if you can find it in one of the src files then it should be exposable but I don't know how/if it would work for SSR

I think it might have to be bundled separately as it's normally imported by path e.g:
import ReactDOMServer from 'react-dom/server'; it would be great in that with Deno, we can use url imports and make use of it for server side rendering.

I think it might have to be bundled separately as it's normally imported by path e.g:
import ReactDOMServer from 'react-dom/server'; it would be great in that with Deno, we can use url imports and make use of it for server side rendering.

Reached the exact same dead-end man. Found this and tough i'd finally set up my Deno project with React but RDS was missing.

So long for the try.

Hey folks ๐Ÿ‘‹ things have changed quite dramatically in the last few commits to this repo. The assets/exports are now generated programatically (thanks to #6 by @kitten). We now include packages like prop-types and react-is in the deploy, so adding react-dom/server might be more trivial now.

Take a look and let me know what you think!

Hey @dburles ๐Ÿ‘‹ hopefully this is fixed for you thanks to @iAmNathanJ and #13. Closing here. Let me know if you have any further issues!