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
I think it would be better to use single strings instead of arrays to follow the standard notation of srcSets, but in order not to break backwards compatibility, dynamic type checking should be used.
The text was updated successfully, but these errors were encountered:
kripod
added a commit
to kripod/react-images
that referenced
this issue
Jan 31, 2018
While preloading images, the
srcSet
prop is being treated as a single string, but when rendering, it is treated as an array of strings.I think it would be better to use single strings instead of arrays to follow the standard notation of
srcSet
s, but in order not to break backwards compatibility, dynamic type checking should be used.The text was updated successfully, but these errors were encountered: