Skip to content

Conversation

@WoLewicki
Copy link
Member

@WoLewicki WoLewicki commented Feb 27, 2024

PR bringing 0.74/bridgeless mode support to the library.

@WoLewicki WoLewicki marked this pull request as ready for review March 1, 2024 12:44
@tomekzaw tomekzaw self-requested a review March 1, 2024 13:51
@WoLewicki WoLewicki force-pushed the @wolewicki/bridgeless-mode-with-runtime-executor branch from c09e572 to e5a24cf Compare March 11, 2024 16:16
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm adding some more review changes just to not lose those notions, but now I will proceed to split this PR into 0.74 support part and bridgeless part.

<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Fix some stuff in @WoLewicki's PR #5734. 

## Test plan

<!-- Provide a minimal but complete code snippet that can be used to
test out this change along with instructions how to run it and a
description of the expected behavior. -->

---------

Co-authored-by: Wojciech Lewicki <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Mar 27, 2024
## Summary

This PR is a part of ongoing effort to bring Reanimated to React Native
0.74 with bridgeless mode. It consists of following Pull Requests, which
are split for review convenience - but shouldn't be considered separate
entities. They have to be merged in the following order:

- #5830
- #5815
- #5834
- #5734 

## Test plan

:shipit:
github-merge-queue bot pushed a commit that referenced this pull request Mar 27, 2024
## Summary

This PR is a part of ongoing effort to bring Reanimated to React Native
0.74 with bridgeless mode. It consists of following Pull Requests, which
are split for review convenience - but shouldn't be considered separate
entities. They have to be merged in the following order:

- #5830
- #5815
- #5834
- #5734 

## Test plan

:shipit:

---------

Co-authored-by: Wojciech Lewicki <[email protected]>
Co-authored-by: Krzysztof Piaskowy <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Mar 27, 2024
## Summary

This PR is a part of ongoing effort to bring Reanimated to React Native
0.74 with bridgeless mode. It consists of following Pull Requests, which
are split for review convenience - but shouldn't be considered separate
entities. They have to be merged in the following order:

- #5830
- #5815
- #5834
- #5734 

## Test plan

:shipit:

---------

Co-authored-by: Wojciech Lewicki <[email protected]>
Co-authored-by: Krzysztof Piaskowy <[email protected]>
Copy link
Member Author

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some more comments. I see you did some more refactoring of the code. It could be done in the follow-up PR, but if you are confident that it works correctly then we can go with it imo 🚀

Copy link
Member

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big fan of these changes – some of them introduce code duplication and make things unnecessarily complex. We need to push forward with bridgeless mode support so let's merge it and work on it iteratively.

Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@tjzel tjzel enabled auto-merge April 5, 2024 10:34
@tjzel tjzel added this pull request to the merge queue Apr 5, 2024
Merged via the queue into main with commit 2eb2882 Apr 5, 2024
@tjzel tjzel deleted the @wolewicki/bridgeless-mode-with-runtime-executor branch April 5, 2024 10:39
github-merge-queue bot pushed a commit that referenced this pull request Dec 9, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Turns out that majority of work with regards to using `RuntimeExecutor`
done in
- #5734
can be reverted since `jsCallInvoker` is staying in the API.

Thanks to that we can significantly cleanup the code which is helpful
for Worklets.


## Test plan

I tested the changes on 0.74, 0.75 and 0.76 for Android/iOS Paper/Fabric
and all worked well.
tjzel added a commit that referenced this pull request Dec 13, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Turns out that majority of work with regards to using `RuntimeExecutor`
done in
- #5734
can be reverted since `jsCallInvoker` is staying in the API.

Thanks to that we can significantly cleanup the code which is helpful
for Worklets.


## Test plan

I tested the changes on 0.74, 0.75 and 0.76 for Android/iOS Paper/Fabric
and all worked well.
tjzel added a commit that referenced this pull request Dec 13, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Turns out that majority of work with regards to using `RuntimeExecutor`
done in
- #5734
can be reverted since `jsCallInvoker` is staying in the API.

Thanks to that we can significantly cleanup the code which is helpful
for Worklets.


## Test plan

I tested the changes on 0.74, 0.75 and 0.76 for Android/iOS Paper/Fabric
and all worked well.
tjzel added a commit that referenced this pull request Dec 13, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Turns out that majority of work with regards to using `RuntimeExecutor`
done in
- #5734
can be reverted since `jsCallInvoker` is staying in the API.

Thanks to that we can significantly cleanup the code which is helpful
for Worklets.


## Test plan

I tested the changes on 0.74, 0.75 and 0.76 for Android/iOS Paper/Fabric
and all worked well.
r0h0gg6 pushed a commit to r0h0gg6/react-native-reanimated that referenced this pull request Jul 28, 2025
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Turns out that majority of work with regards to using `RuntimeExecutor`
done in
- software-mansion#5734
can be reverted since `jsCallInvoker` is staying in the API.

Thanks to that we can significantly cleanup the code which is helpful
for Worklets.


## Test plan

I tested the changes on 0.74, 0.75 and 0.76 for Android/iOS Paper/Fabric
and all worked well.
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.

5 participants