What's Changed
-
Patched a syntax error in
@remix-run/dev
to ensurecreate-remix
runs smoothly on Node 14 -
Fix inferred types for
useLoaderData
anduseActionData
to preservenull
value types in@remix-run/react
.Previously,
null
types were being replaced bynever
due to our usage ofNonNullable
inUndefinedOptionals
. Properties that aren't unions withundefined
are now kept as-is, while properties that do includeundefined
are still made optional, but only removeundefined
from the property type whereasNonNullable
also removednull
types.
Changes by package
Full Changelog: https://github.com/remix-run/remix/compare/remix@1.6.6...remix@1.6.7