Skip to content
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

Latest version is broken. #56

Open
apudiu opened this issue Dec 2, 2024 · 1 comment
Open

Latest version is broken. #56

apudiu opened this issue Dec 2, 2024 · 1 comment

Comments

@apudiu
Copy link

apudiu commented Dec 2, 2024

Hi, I just upgraded Valtio to v2.1.2 from v1.13.2, I also updated the plugin version 0.6.4 to 0.7.0, Now getting the following error

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'valtio' -> object with constructor 'Object'
    |     property 'configs' -> object with constructor 'Object'
    |     property 'recommended' -> object with constructor 'Object'
    --- property 'plugins' closes the circle

Following is .eslintrc.json

{
  "extends": [
    "next/core-web-vitals",
    "plugin:valtio/recommended",
    "plugin:@tanstack/eslint-plugin-query/recommended"
  ],
  "rules": {
    "react/no-unescaped-entities": 1
  }
}

Project Info:
React: 18.3.1
Next: 14.2.5
EsLint: 8.57.0

@barelyhuman
Copy link
Collaborator

#54 (comment)

Can you try the version here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants