expo icon indicating copy to clipboard operation
expo copied to clipboard

[core] Move some JSI utils to common code

Open tsapeta opened this issue 1 year ago • 0 comments

Why

Preparing the ground for #27038 by moving and adding some more C++ utils to the common codebase.

How

  • Moved creating classes and objects with prototypes from iOS to the common code
  • Moved and made more convenient to use defineProperty (with a convenient struct to describe property descriptor)
  • Added a function to create a class that inherits from another

Test Plan

Unit tests are passing, bare-expo builds successfully

tsapeta avatar Feb 11 '24 22:02 tsapeta