react-native/React
Nikhilesh Sigatapu c67225818d Add a way to access the underlying JavaScriptCore context
Summary:
**Motivation**

I'm working on a project that uses React Native and needs to add direct synchronous bindings to native stuff through the JavaScriptCore C API. This is because it's performance-sensitive and would benefit from the quickest JS->C path. It does this using cross-platform C++ code that works on both iOS and Android. Most of the infrastructure for getting access to the JSC context is already in React Native actually, just had to add a few more things.

(lexs you mentioned to tag you in this pull request)

**Test plan**

Modify the JavaScriptCore context through the `JSContextRef` returned (eg. add an object at global scope) and verify that it exists in JavaScript.
Closes https://github.com/facebook/react-native/pull/10399

Differential Revision: D4080945

Pulled By: lexs

fbshipit-source-id: 6659b7a01e09fd84475adde183c1d3aca2d4cf09
2016-10-26 03:43:44 -07:00
..
Base Allow serializing underlying NSError objects, closes #10506 2016-10-26 01:43:39 -07:00
CSSLayout Don't preallocate child lists 2016-10-25 17:13:36 -07:00
Executors Add a way to access the underlying JavaScriptCore context 2016-10-26 03:43:44 -07:00
Modules Fix Alert memory leak 2016-10-25 17:28:49 -07:00
Profiler Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
React.xcodeproj Travis CI reliability fixes: preload package manager and increase tim… 2016-10-16 15:43:44 -07:00
Views Remove flex shorthand getter because it doesnt make a lot of sense 2016-10-24 03:44:22 -07:00