woonki
woonki
What version of compiler are you targeting for this PR? Actually, the latest compiler version(rc-8) moved the Result type to built-in type. So, this PR is not working with the...
Can you share the bsconfig? Are you using uncurried mode?
At a guess, it sounds like you're not able to use uncurried mode, so let me make it reproducible.
Not for now, but definitely worth checking out. Thanks for letting me know.
Hi, Sorry for late response. Frankly, I didn't acknowledge this issue before. Thank you for openning issue. As I shortly dig into this issue, I reach to the consideration of...
forum: https://forum.rescript-lang.org/t/ppx-spice-supports-the-latest-compiler-v11-rc-4-now/4766 cc. https://github.com/jfrolich
How about this? Is it working? ```res module ButtonExternalBroken = { type props = { text: string } @module("./ReadMoreButton") external make: (props) => React.element = "default" } ``` https://rescript-lang.org/try?version=v10.1.2&code=ALBWGcA8GEHsDsBmBLA5gCgN4AIBuBTAJ3GQQC5sAWAGmwFtYATfCgIgEMBXAF1jve7IAxq2wBfAJQAoKQHoAVNgAq7ANb5s7bABtYsVZu7ZuACw2p88IgPyNsAKQDK2WDwAOPWu3h34sQUIaJrAA7tiElsyEyPCo2ABCPLzwAKKQ3ETw7NrxhPqWUthFEeCc2tzg2DHYAEZ56vDYQkz4tCEmwiZVlX5GphpC7OAa7ZbYzCjwMXH9tTGM09iFRSHIpsZm2MAR7ELcAHTNdG4IlkYC3NE1PPj72OgA8o2J3MlpGYRZ2gBy-rn58H20iKSxBSg6lWQPX8GwGQw0CGwWUEBGwACV8OAhNE3EZRhEvJVmAx4OBLjY7DUAJ7YAAGL2StNoy2wIWiglimiafBOVngeLWwR4Wx2e0OPNO-NZsEIqkqk1uIJZUnkshkUgYjDKGgZCHemWy-wa2AAvNhMMtuFS3Bo3Hk3JUzTgMukKGTopyxMtgJrtehWPtZBj2IwALIy-C6+CsYHYfDpA3aehqFj3O2wB0SU0APnR+F2B3w2nwdDOpuwrAmXHKrCkXo1TG1CSSeoTn2yv24RrGTu9vuL-sDwbDEajMZF+bFR15Z2W8Y+X2T6go6AAfi7uG7LtMsybc8GxUWS2WzZX8Ihq9xa-X+zqW41e0UrTbsOmHeXnfOtx64l6isWjH4dRyzfR1cwAHmuV4EGzTBQP2DcAFpswPA53WmMRwNkKDkmzOt1SkbZJwOadJW4KQAKXDQzXQXdc2WcC8JBbBwKjfV2xyeoxg3E1WDMbRdFEWQmJBVj73Yr5O27RoeL4otBOwYSWRYqNjHnXj+IUpSiiw7MgA
This should be working. ```res module ButtonExternalBroken = { type props = { text: string } @module("./ReadMoreButton") external make: React.component = "default" } ``` This isn't really about JSX4, it's...
Can you tell me what part of the current doc to go in?
> The rescript-react docs used to have a section dedicated to binding to external components, but I seems like it's not there anymore. You can still access the old version...