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

New Architecture - Considerations/Discussion #1557

Open
8BallBomBom opened this issue Apr 30, 2024 · 4 comments
Open

New Architecture - Considerations/Discussion #1557

8BallBomBom opened this issue Apr 30, 2024 · 4 comments
Labels
needs-research Research might be needed needs-testing Testing is required new-arch Anything concerning the new RN Architecture

Comments

@8BallBomBom
Copy link
Member

8BallBomBom commented Apr 30, 2024

With the release of React Native 0.74 there have been some significant improvements to the upcoming New Architecture.
As it stands things are still experimental but sooner or later the New Architecture will become default.
Now seems like a good time to start working on supporting the new stuff.
Luckily we can still keep some backwards compatibility.

Over the coming weeks I'll be pushing changes up over here on the new-arch branch.
Then after a while we can start testing and eventually get a release out.

Pinning this as a place to discuss anything related to the upcoming changes.
Will also put a check list here soon.

@8BallBomBom 8BallBomBom pinned this issue Apr 30, 2024
@8BallBomBom 8BallBomBom added needs-research Research might be needed needs-testing Testing is required new-arch Anything concerning the new RN Architecture labels Apr 30, 2024
@saghul
Copy link
Member

saghul commented Apr 30, 2024

Last I checked new arch is basically turbo modules in C++ but we can't do that here.

So well the minimum compatibility thing to keep using the bridge anyway.

@8BallBomBom
Copy link
Member Author

8BallBomBom commented Apr 30, 2024

Probably should have described things a little better ahaha 🤔
But yes I was planning on keeping to Java and Objective-C but implementing the TurboModule and Fabric changes.
Both fall under the New Architecture.

But to fully take advantage of everything we would indeed need to change over to C++ 😅
Something I'm willing to eventually put some time into, bit by bit we could get there.


Slight update on this, will be pushing code up shortly along with a PR.
Android support seems to be working as expected, iOS still needs some work.
This will be a disruptive update as some things have been moved around and requirements have changed a little.
But what counts is the obvious, this should be a drop in update.

@santhoshvai
Copy link
Contributor

you can also count me into this, we can move to using turbo modules and fabric with a fair amount of work

@8BallBomBom
Copy link
Member Author

Been a little delayed on this but will be looking to put the first parts up soon.
TurboModule + Fabric - Android and TS first 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-research Research might be needed needs-testing Testing is required new-arch Anything concerning the new RN Architecture
Projects
None yet
Development

No branches or pull requests

3 participants