rescript-lang / rescript-react

Official ReScript bindings for ReactJS
https://rescript-lang.org/docs/react/latest/introduction
MIT License
478 stars 39 forks source link

ReactDOMServer.renderToString ... server.js not exported from react-dom #55

Closed AlexMoutonNoble closed 2 years ago

AlexMoutonNoble commented 2 years ago

Hi Folks. Just came across this problem in porting some existing js to rescript. If i reimplement the renderToString bindings without the "js" suffix on the module, it seems to work fine. Maybe a simple change to remove the suffix there?

Can make a PR if that seems reasonable

Thanks Alex

cknitt commented 2 years ago

Fixed in #44.