Skip to content

Commit

Permalink
Add missing "object" (#3997)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsavit1 authored Jan 24, 2024
1 parent 66457b9 commit 21e4187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/the-new-architecture/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _The Bridge_ had some intrinsic limitations:

## New Architecture's Improvements

The New Architecture dropped the concept of _The Bridge_ in favor of another communication mechanism: the _JavaScript Interface (JSI)_. The _JSI_ is an interface that allows a JavaScript object to hold a reference to a C++ and vice-versa.
The New Architecture dropped the concept of _The Bridge_ in favor of another communication mechanism: the _JavaScript Interface (JSI)_. The _JSI_ is an interface that allows a JavaScript object to hold a reference to a C++ object and vice-versa.

Once an object has a reference to the other one, it can directly invoke methods on it. So, for example, a C++ object can now ask a JavaScript object to execute a method in the JavaScript world and viceversa.

Expand Down

0 comments on commit 21e4187

Please sign in to comment.