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

Dynamic require prevents use in React Native #78

Open
simlrh opened this issue Mar 9, 2017 · 5 comments
Open

Dynamic require prevents use in React Native #78

simlrh opened this issue Mar 9, 2017 · 5 comments

Comments

@simlrh
Copy link

simlrh commented Mar 9, 2017

React Native's packager can't bundle apps using dynamic require

@HQarroum
Copy link

HQarroum commented Sep 8, 2017

+1. I understand the rationale behind the code factoring associated with dynamic requires, but it makes also browserify unable to bundle Huejay.

@sqmk
Copy link
Owner

sqmk commented Feb 12, 2018

I'm still looking into this.

@zachwinter
Copy link

Any updates on this? :)

@tombell
Copy link

tombell commented Nov 20, 2020

Really interested in a solution to this as we're looking to build in some Hue integration into our React Native app.

@simlrh
Copy link
Author

simlrh commented Nov 20, 2020

If you need this I'd suggest forking this repo, making the appropriate changes (https://github.com/sqmk/huejay/pull/77/files worked in 2017, make changes as necessary), and pointing to your repo in package.json dependencies.

Don't depend on the above fork as I'm not guaranteeing it'll stay there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants