synthetic icon indicating copy to clipboard operation
synthetic copied to clipboard

React-Lua Compatibility Issue

Open nightcycle opened this issue 7 months ago • 0 comments

The technique I use to swap out the underlying instance for the Roact port causes an error in the React-Lua port, preventing me from adding it as an official compatibility layer.

Test it out here: https://github.com/nightcycle/synthetic/tree/main/src/Component/Checkbox

  • _RoactTest.story.luau + Roact.luau run fine
  • _ReactTest.story.luau + React.luau errors

If someone can find a way to make this work I can handle integrating it into the build sequence. I'm not skilled enough with Roact / React to figure this one out.

Thank you!

nightcycle avatar Jul 22 '24 10:07 nightcycle