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

Require cycle warning on React Native Web #6

Open
michailbrynard opened this issue Sep 17, 2024 · 0 comments
Open

Require cycle warning on React Native Web #6

michailbrynard opened this issue Sep 17, 2024 · 0 comments

Comments

@michailbrynard
Copy link

We have a react native project using fireblocks/react-native-ncw-sdk as a dependency. When bundling for web using npx expo start --web , we get the following warning:

Web Bundled 411ms index.js (1 module)
λ  WARN  Require cycle: node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js -> node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/FireblocksNCWFactory.js -> node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
  factory (node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/FireblocksNCWFactory.js:21:7)
  factory (node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js:55:3)

We have not noticed any issues due to this warning as we have been focused on android and ios, but it would be good to resolve if possible.

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