Skip to content
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

Added a bunch of new stuff #49

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Conversation

ammarahm-ed
Copy link

Hey! I know you haven't been working on this actively but I thought of takings some time to up a few things. Here's the list:

  1. Updated the Scheduler similar to react-native-vision-camera so now it creates it's own Scheduler.
  2. Added support for loading JS modules! Basically you can drop a module file in app assets folder & it will be loaded into the worker thread. For example loading a html parser or any other such library for doing expensive work on the worker & returning the result.
  3. Updated the library to support latest react native version
  4. Added the ability to register native JSI plugins with the worker. This can be further expanded to enable access to all react native modules through a custom bridge implementation.
  5. Added eval support.
  6. Lazily install JSI bindings with install method.

@mrousavy
Copy link
Owner

Hey Ammar! Wow, this is absolutely incredible! Thank you so much for your work.

Since this is quite a big PR, do you maybe have me on Discord? We could go over some things in DM more quickly - but on the surface everything looks really great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants