You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the tsx backend we currently type everything relevant as ReactElement. This generally makes sense as it's stricter than ReactNode, however we actually could permit consumers to return ReactNode in callbacks. We've observed an occasional need to wrap something assignable to ReactNode in unnecessary fragments to workaround this issue.
With the
tsx
backend we currently type everything relevant asReactElement
. This generally makes sense as it's stricter thanReactNode
, however we actually could permit consumers to returnReactNode
in callbacks. We've observed an occasional need to wrap something assignable toReactNode
in unnecessary fragments to workaround this issue.Example of expected change:
It should be noted in Unsplash Web specifically this may pose issues with our fancy custom internationalisation types.
The text was updated successfully, but these errors were encountered: