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 have the similar problem in next js
Warning: A props object containing a "key" prop is being spread into JSX
React keys must be passed directly to JSX without using spread
Hey, folks. My issue is really weird and I need some help. I have a project where I am using
svgr
and now I am getting a warning from react.The problem
Debugging path
Seems like an easy fix, but the problem is deeper. I researched and found out that the issue is caused by this SVG
Once I try to convert using SVGR, everything looks fine:
But, the final transformation done by babel end up into
Cleaning this up I see the following structure, where there is no
key
attribute next tofill
ord
.Questions
key
in this case?Any help is really welcome
The text was updated successfully, but these errors were encountered: