-
Notifications
You must be signed in to change notification settings - Fork 647
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
Example of native interop (NativeFunction, etc)? #40
Comments
There are some examples in the React Native codebase, and the important file to look at is It’s used like this:
That should be the basics of setting up your own NativeFunctions. |
Awesome. Thank you so much! |
Closed
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm curious to play around with Hermes outside of the React Native context, with my own C++ code. From looking through the code it looks as though things like
NativeFunction
are what I want to be using, but I'm curious to know if there is a good example anywhere of declaring a native function or class, adding it to a context and running it?The text was updated successfully, but these errors were encountered: