Skip to content

isSerializable does not include Date type #11498

Discussion options

You must be logged in to vote

Date is serialized to a string and then on the client-side would cause a hydration error as Date is expected to be a date object in most cases.

Replies: 9 comments 17 replies

Comment options

You must be logged in to vote
7 replies
@Timer
Comment options

@XavierGeerinck
Comment options

@AshConnolly
Comment options

@Timer
Comment options

@AshConnolly
Comment options

Answer selected by Timer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@Manubi
Comment options

@nonoumasy
Comment options

@richardthombs
Comment options

@bennettdams
Comment options

@FranciscoKloganB
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mcgrealife
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet