Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-Lua Compatibility Issue #22

Open
nightcycle opened this issue Jul 22, 2024 · 0 comments
Open

React-Lua Compatibility Issue #22

nightcycle opened this issue Jul 22, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@nightcycle
Copy link
Owner

nightcycle commented Jul 22, 2024

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 nightcycle added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant