You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I start a react native build, I get a bunch of warnings about require cycles:
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
[Thu Dec 10 2020 09:14:08.942] WARN Require cycle: node_modules/react-native-paper/src/components/Checkbox/Checkbox.tsx -> node_modules/react-native-paper/src/components/Checkbox/CheckboxItem.tsx -> node_modules/react-native-paper/src/components/Checkbox/Checkbox.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
[Thu Dec 10 2020 09:14:08.942] WARN Require cycle: node_modules/react-native-paper/src/components/FAB/FAB.tsx -> node_modules/react-native-paper/src/components/FAB/FABGroup.tsx -> node_modules/react-native-paper/src/components/FAB/FAB.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
[Thu Dec 10 2020 09:14:08.943] WARN Require cycle: node_modules/react-native-paper/src/components/RadioButton/RadioButton.tsx -> node_modules/react-native-paper/src/components/RadioButton/RadioButtonItem.tsx -> node_modules/react-native-paper/src/components/RadioButton/RadioButton.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
[Thu Dec 10 2020 09:14:08.943] WARN Require cycle: node_modules/react-native-paper/src/components/Appbar/Appbar.tsx -> node_modules/react-native-paper/src/components/Appbar/AppbarHeader.tsx -> node_modules/react-native-paper/src/components/Appbar/Appbar.tsx
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
[Thu Dec 10 2020 09:14:08.944] WARN Require cycle: node_modules/react-native-paper/src/components/ToggleButton/ToggleButton.tsx -> node_modules/react-native-paper/src/components/ToggleButton/ToggleButtonRow.tsx -> node_modules/react-native-paper/src/components/ToggleButton/ToggleButton.tsx
Expected behaviour
I shouldn't get any warnings.
Code sample
Screenshots (if applicable)
What have you tried
Updated from 3.12 to the latest version.
Your Environment
software
version
android
11
react-native
0.63.3
react-native-paper
4.4.1
node
12.18.4
yarn
1.22.10
expo sdk
The text was updated successfully, but these errors were encountered:
Current behaviour
Whenever I start a react native build, I get a bunch of warnings about require cycles:
Expected behaviour
I shouldn't get any warnings.
Code sample
Screenshots (if applicable)
What have you tried
Updated from 3.12 to the latest version.
Your Environment
The text was updated successfully, but these errors were encountered: