-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add react-navigation/native-stack to package.json #38427
Comments
Triggered auto assignment to @Julesssss ( |
New Library Review
Once these questions are answered, start a thread in #engineering-chat, ping the
|
cc @mountiny @kirillzyusko, i believe the next step of the process is reviewing the library before we can add it. Since you guys have more context of the library can you fill in the missing pieces of the description and questions so that we can start a discussion for evalutation. |
@chiragsalian I can not edit original post, so I'll add my input in this comment 👀 DescriptionAlternativesTwo alternatives right now are:
Are security concerns brought up and addressed in the library's repo?The How many dependencies does this lib use that will be brought into our code?Only one: What will the effect be on the bundle size of our code?~58kb of unzipped code. QuestionsAre all the answers in the main description filled out properly and make sense?Yes Who maintains the library and how well is it maintained?It's well maintained. The authors are engineers from Callstack. How viable are the alternatives?As I pointed out earlier - we already use The migration to
Should we build it ourselves instead?I don't think so. |
Thank you! I have updated the OP! @Julesssss I believe this is ready |
These have all been answered above and it seems quite clear that we should go ahead with this.
I shared a voting thread here. |
@chiragsalian the vote passed, and we can look into cross platform solutions separately. |
Dropping my 2 cents here 😅
It's not entirely true since under the hood, it uses As for
Overall, I am up for using |
@WoLewicki Well, I though that entire |
Yeah, no problem 😅 As you can see on the landing page, it is maintained by people from different companies/organizations.
I know it can cause confusion 😄 The package from |
@WoLewicki oh, yeah, it makes sense what you're saying 👍 Thank you for the explanation! |
@WoLewicki Thank you for raising these, I will create an issue to investigate more in-depth what would have to be added to the native-stack to allow us to use it on web too so we have better idea and then you could help us see if there is a way forwards I put the PR in hold for Fabric 🙇 The native stack definitely brings better feel to the app with the native transitions, from my personal testing I havent noticed lagging of the animations using the native stack, it decreased for me compared to the current implementation, however, that is not objective measure |
In order to properly evaluate if a new library can be added to
package.json
, please fill out this request form. It will be automatically assigned someone from our review team that will go through and vet the library.In order to add any new production dependency, it must be approved by the App Deployer team. They will evaluate the library and decide if it's something we want to move forward with or if other alternatives should be explored.
Note: This is only for production dependencies. While we don't want people to add packages to dev-dependencies willy-nilly, we recognize that there isn't as great of a need there to secure them.
Name of library: react-navigation/native-stack
Details
Two alternatives right now are:
@react-navigation/stack
- what we are currently using. Highly customizable solution, but doesn't provide a native feel&like experience. + it's sensitive to JS workload (i. e. if JS thread is busy, then app will be laggy since transitions are managed on JS level)react-native-navigation
- provides native navigation, but it's not well maintained, has many issues and the API is not compatible withreact-navigation
Are security concerns brought up and addressed in the library's repo?
The
native-stack
is simply a bridge betweenreact-navigation
API and navigation primitives provided byreact-native-screens
, so it's very hard to introduce any vulnerabilities there. I've searched through github issues and didn't find any security issues.Only one:
~58kb of unzipped code.
PR adding this library - #37891
The text was updated successfully, but these errors were encountered: