[Rule] use-state-serialized #404
baixiaoyu2997
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because the data inside useState will be serialized to JSON, it is important that it does not contain anything that cannot be serialized, such as classes, functions or symbols.
https://nuxt.com/docs/api/composables/use-state#usage
Beta Was this translation helpful? Give feedback.
All reactions