Skip to content

Update gutenberg-mobile to use the Hermes JS runtime#10997

Merged
hypest merged 20 commits intogutenberg/after-1.21.0from
gutenberg/try-rn-hermes
Jan 24, 2020
Merged

Update gutenberg-mobile to use the Hermes JS runtime#10997
hypest merged 20 commits intogutenberg/after-1.21.0from
gutenberg/try-rn-hermes

Conversation

@hypest
Copy link
Copy Markdown
Contributor

@hypest hypest commented Dec 20, 2019

Pointing to gutenberg mobile with RN version 0.61.5, including changing the JS runtime from JSC to Hermes.

Changes in this PR:

  • Exclude React Native's JSC and Hermes executor debug binaries. This way, only the optimized release version of Hermes is available in runtime. The debug version of Hermes is still available depending on the build type.
  • Proguard changes to keep the Hermes classes in
  • Stop forcing a specific JSC version. Hermes takes over now anyway.

To test:
The block editor should work as normal, maybe with a slight improvement in its speed performance.

PR submission checklist:

  • I have considered adding unit tests where possible.

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Dec 20, 2019

You can test the changes on this Pull Request by downloading the APK here.

@hypest hypest changed the base branch from gutenberg/upgrade-to-rn-0.61 to gutenberg/after-1.21.0 January 22, 2020 14:49
@hypest hypest modified the milestones: 14.2, 14.1 Jan 22, 2020
@hypest hypest marked this pull request as ready for review January 22, 2020 15:12
@hypest hypest requested review from marecar3 and mchowning January 22, 2020 15:12
Copy link
Copy Markdown
Contributor

@marecar3 marecar3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work here!
LGTM! 🎉

@hypest hypest merged commit 7e312ee into gutenberg/after-1.21.0 Jan 24, 2020
@hypest hypest deleted the gutenberg/try-rn-hermes branch January 24, 2020 22:22
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

Successfully merging this pull request may close these issues.

3 participants