Skip to content

Conversation

@kmichalikk
Copy link
Contributor

@kmichalikk kmichalikk commented Nov 28, 2025

Description

This PR removes native-stack directory from screens repo. This dir held the code for native-stack v5, which has been moved to react-navigation and is v7, v8 now. The rest of the deprecated imports are removed and the unused code is deleted.

Closes https://github.com/software-mansion/react-native-screens-labs/issues/589

Changes

Removed native-stack/*, fixed imports.

Test code and steps to reproduce

Check if the library still builds successfully.

@kmichalikk kmichalikk self-assigned this Nov 28, 2025
@kmichalikk kmichalikk added Area: JS-only Issue regards only JS layer of the lib. Type: Chore labels Nov 28, 2025
@kmichalikk kmichalikk force-pushed the @kmichalikk/remove-native-stack-v5 branch from 8e653e6 to 1c9f539 Compare November 28, 2025 12:00
Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

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

Guide: this is a feature related change, as it modifies public interface of the library, therefore use feat as the commit type in the PR title.

Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

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

Looks nice. I just have few comments.

Copy link
Member

Choose a reason for hiding this comment

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

Does this test case even work? I think that we never downstreamed this feature to react-navigation. There was a PR from @maciekstosio, but it has not been completed.

Please verify whether we have ticket for downstreaming it (I think I recently saw one on the board, it could have been a draft so it won't be visible in labs issues). If not -> create one.

Now, regarding this test -> if it does not work, it should be "suspended". I'd recommend commenting it out in index file, so that it is not loaded or marking it somehow as "disabled" (can be done in separate, follow up PR).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kmichalikk kmichalikk changed the title chore: Remove native-stack v5 from screens repo feat: Remove native-stack v5 from screens repo Nov 28, 2025
Copy link
Member

@kkafar kkafar left a comment

Choose a reason for hiding this comment

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

Okay, let's do it. ✅

## Description

This PR removes TestScreenAnimationV5. This test is showing a
functionality that is not completed on react-navigation side.

## Changes

Commented out TestScreenAnimationV5.

## Test code and steps to reproduce

Check if TestScreenAnimationV5 is present in the Example list, it should
not.
@kmichalikk kmichalikk added Type: Feature Issue or PR with feature request or implementation and removed Type: Chore labels Dec 1, 2025
@kmichalikk kmichalikk merged commit 5b9a862 into main Dec 1, 2025
3 checks passed
@kmichalikk kmichalikk deleted the @kmichalikk/remove-native-stack-v5 branch December 1, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: JS-only Issue regards only JS layer of the lib. Type: Feature Issue or PR with feature request or implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants