huejay
huejay copied to clipboard
Dynamic require prevents use in React Native
React Native's packager can't bundle apps using dynamic require
+1. I understand the rationale behind the code factoring associated with dynamic requires, but it makes also browserify unable to bundle Huejay.
I'm still looking into this.
Any updates on this? :)
Really interested in a solution to this as we're looking to build in some Hue integration into our React Native app.
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