We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RangeError: Maximum call stack size exceeded
When rendering the theme provider as a client component it seems something different is done inside deepmerge that causes infinite recursion.
Repro: inside a client component
"use client" import theme from "@material-tailwind/react/theme"; import combineMerge from "@material-tailwind/react/utils/combineMerge"; import deepmerge from "deepmerge"; deepmerge(theme, {}, { arrayMerge: combineMerge });
When the same is done in the server context it somehow works.
Setting those two properties to null fixes the issue, but it would be nice if you could fix it internally.
theme.rating.defaultProps.ratedIcon = null; theme.rating.defaultProps.unratedIcon = null;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When rendering the theme provider as a client component it seems something different is done inside deepmerge that causes infinite recursion.
Repro:
inside a client component
When the same is done in the server context it somehow works.
Setting those two properties to null fixes the issue, but it would be nice if you could fix it internally.
The text was updated successfully, but these errors were encountered: