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

feat: experimental support for react-freeze #1195

Merged
merged 7 commits into from
Oct 29, 2021
Merged

feat: experimental support for react-freeze #1195

merged 7 commits into from
Oct 29, 2021

Conversation

kacperkapusciak
Copy link
Member

Description

This PR adds experimental support for react-freeze library: https://github.com/software-mansion-labs/react-freeze

To enable this feature using the new method we added to the react-native-screens library. To do that, add the following snippet (along with the import) to the main file of your application:

import { enableFreeze } from "react-native-screens";

enableFreeze(true);

Changes

  • Added support for react-freeze in NativeStack

Test code and steps to reproduce

TestFreeze in TestsExample/ project

Checklist

  • Included code example that can be used to test this change
  • Updated TS types
  • Ensured that CI passes

Copy link
Member

@kmagiera kmagiera left a comment

Choose a reason for hiding this comment

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

:shipit:

@kacperkapusciak kacperkapusciak merged commit 1f248ff into master Oct 29, 2021
@kacperkapusciak kacperkapusciak deleted the freeze branch October 29, 2021 13:54
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