Yeah, NextJS choosing to only support null is unfortunate, since undefined is obviously perfectly serializable.
null
undefined
It's also a little awkward to have to adapt ReScript values for components written in ReScript. But that's engineering for you, I guess.
Thanks for your article!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yeah, NextJS choosing to only support
null
is unfortunate, sinceundefined
is obviously perfectly serializable.It's also a little awkward to have to adapt ReScript values for components written in ReScript. But that's engineering for you, I guess.
Thanks for your article!