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
When you use a self referencing object as a prop for a component, you get this error
Example of self referencing object:
const a = {} const b = {} a.child = b; b.parent = a;
-
pnpm
The text was updated successfully, but these errors were encountered:
I think we can check for already visited objects quite easily with a Set:
const seen = new Set() // ... // Check if (!seen.has(obj)) { seen.add(obj) // ... }
Sorry, something went wrong.
fix: recursive object analysis (fix #118) (#119)
88ecbbf
* Fix recursive object analysis * Add seen set
hugoattal
Successfully merging a pull request may close this issue.
Describe the bug
When you use a self referencing object as a prop for a component, you get this error
Reproduction
Example of self referencing object:
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: