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
ThemeProvider causing Maximum update depth exceeded #3843
Comments
I was able to resolve this issue by defining my own custom theme and passing it into the theme property of the ThemeProvider. however I still think something is broken with the package because the documentation states
but that seems to not be working as without adding my own theme it bugs out. |
I've tried the PR but it didn't work. const theme = createTheme({});
<ThemeProvider theme={theme}>
|
Is there an existing issue for this?
Explain what you did
switch from one branch that had older react-native-elements packages to new branch that has newer react-native-elements packages. did not have this issue when first updated branch months ago.
tried upgrading to newest rneui packages.
Expected behavior
Expected Behavior:
What happens instead:
Describe the bug
The following error is:
When I remove
<ThemeProvider>
from my project I do not get this error.Steps To Reproduce
Screenshots
No response
Your Environment
`npx @rneui/envinfo`
Global Dependencies:
No related dependency found
Local Dependencies:
The text was updated successfully, but these errors were encountered: