[JS] Move from embind to manual bindings #1507
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
embind is convenient but not ideal
We should instead add the code for the object representation and have it call Yoga C APIs directly, like the JNI bindings.
This isn’t something I’m going to prioritize, but might be worth picking up as a next step in evolving the bindings, especially if standalone wasm es modules become well supported.
Is the use of embind related to why
Node#getChild
seems to return a new instance of a JavaScript/V8 object wrapping the C++ Node instance? If not, I may need to file another bug due to noticing that any symbols I attached to Yoga Nodes don't come back with them from getChild.