DEV Community

Discussion on: ReScript records, NextJS, undefined and getStaticProps

Collapse
hoichi profile image
Sergey Samokhov

Yeah, NextJS choosing to only support null is unfortunate, since undefined 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!