Skip to content

Why not use class to define types and initial state? #2160

Closed Answered by posva
AmitJoki asked this question in Help and Questions
Discussion options

You must be logged in to vote

Classes are not serializable so this breaks when doing SSR.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants