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

Warning: require cycle #55

Open
Jurek33 opened this issue Feb 22, 2021 · 0 comments
Open

Warning: require cycle #55

Jurek33 opened this issue Feb 22, 2021 · 0 comments

Comments

@Jurek33
Copy link

Jurek33 commented Feb 22, 2021

Hello and thank you very much for the library. The experience so far is really good but I think it might be important to raise one issue. I have not faced any errors related to this warning so far but it would be great if you could fix it to avoid possible future issues. This warning shows up right after the build:

Require cycle: node_modules/react-native-payment-inputs/dist/hooks/index.js -> node_modules/react-native-payment-inputs/dist/hooks/usePaymentInputs.js -> node_modules/react-native-payment-inputs/dist/hooks/index.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

Node: 12.18.1
iOS: 14.3
Simulator: iPhone 11

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

No branches or pull requests

1 participant