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

Make encore compatible with react-native 76 #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hadils
Copy link

@hadils hadils commented Nov 18, 2024

Using react-native 76 (Expo 52) and shadow-cljs, js/window hangs in the REPL -- it does not return nil. This causes the UUID code to fail.

Ran CLJ and CLJS unit tests

Tested RN on my set up. I did not create a test harness for RN

Using react-native 76 (Expo 52) and shadow-cljs, js/window hangs in the
REPL -- it does not return nil. This causes the UUID code to fail.
hadils pushed a commit to hadils/sente that referenced this pull request Nov 18, 2024
Using react-native 76 (Expo 52) and shadow-cljs, js/window hangs in the
REPL -- it does not return nil. This causes the UUID code to fail.

Added react-native-target? to check for this. Also turned off event
listener code for RN.

Uses a version of encore that has been submitted as a pull
request. See taoensso/encore#80
@ptaoussanis
Copy link
Member

@hadils Thanks a lot for this Hadil! 🙏

I've just pushed Encore v3.132.0 to Clojars which includes your changes.

I'll update Sente when I'm next on batched Sente work for v1.20 final. In the meantime you can manually include the latest Encore in your project. If using Leiningen, just make sure that you place the Encore dependency before any other dependencies that might try pull in their own (older) version.

Cheers! :-)

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

Successfully merging this pull request may close these issues.

2 participants