Skip to content

Require cycle warning on 3.4.5 #5535

@madmeatballs

Description

@madmeatballs

Description

Require cycle warning

CodeSandbox/Snack link

private project

Steps to reproduce

  1. Install native-base 3.4.5
  2. yarn android/ios
  3. Error will appear
 WARN  Require cycle: node_modules/native-base/src/theme/styled-system.ts -> node_modules/native-base/src/utils/getStyledFromProps.ts -> node_modules/native-base/src/theme/styled-system.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/components/primitives/Stack/Stack.tsx -> node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/primitives/Stack/index.tsx -> node_modules/native-base/src/components/primitives/Stack/Stack.tsx

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/components/primitives/Stack/HStack.tsx -> node_modules/native-base/src/components/primitives/Stack/Stack.tsx -> node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/primitives/Stack/index.tsx -> node_modules/native-base/src/components/primitives/Stack/HStack.tsx

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/components/primitives/Stack/Stack.tsx -> node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/primitives/Stack/index.tsx -> node_modules/native-base/src/components/primitives/Stack/VStack.tsx -> node_modules/native-base/src/components/primitives/Stack/Stack.tsx

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/composites/FormControl/index.tsx -> node_modules/native-base/src/components/composites/FormControl/FormControl.tsx -> node_modules/native-base/src/components/composites/FormControl/useFormControl.tsx -> node_modules/native-base/src/utils/index.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/composites/FormControl/index.tsx -> node_modules/native-base/src/components/composites/FormControl/FormControlLabel.tsx -> node_modules/native-base/src/utils/index.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/composites/FormControl/index.tsx -> node_modules/native-base/src/components/composites/FormControl/FormControlErrorMessage.tsx -> node_modules/native-base/src/utils/index.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
 WARN  Require cycle: node_modules/native-base/src/utils/index.ts -> node_modules/native-base/src/components/primitives/Radio/RadioGroup.tsx -> node_modules/native-base/src/components/composites/FormControl/index.tsx -> node_modules/native-base/src/components/composites/FormControl/FormControlHelperText.tsx -> node_modules/native-base/src/utils/index.ts

NativeBase Version

3.4.5

Platform

  • Android
  • CRA
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions