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

[iOS][macOS] Invoke dev menu methods by rndebugger #18

Closed
3 tasks done
jhen0409 opened this issue Nov 7, 2016 · 0 comments
Closed
3 tasks done

[iOS][macOS] Invoke dev menu methods by rndebugger #18

jhen0409 opened this issue Nov 7, 2016 · 0 comments

Comments

@jhen0409
Copy link
Owner

jhen0409 commented Nov 7, 2016

The React Native for iOS have NativeModules.DevMenu, so we can invoke following methods on the worker:

  • Reload JS
  • Enable LiveReload
  • Enable Hot Reload
  • Enable Profiling
  • Show Dev menu

I think it will be helpful to enhance the development experience, even we can support MacBook Touch Bar in the future.

Or we can invoke directly in RNDebuggerWorker.js context for console:

global.require('NativeModules').DevMenu.reload();

Others

Roadmap

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

No branches or pull requests

1 participant