btholt / complete-intro-to-react

A Complete Intro to React, as Given for Frontend Masters
https://frontendmasters.com/learn/react/
MIT License
1.06k stars 927 forks source link

v3: link is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`. #94

Open aprylisnow opened 6 years ago

aprylisnow commented 6 years ago

When adding the showcard link I am receiving the following error: ink is a void element tag and must neither have children nor use dangerouslySetInnerHTML.

I have researched this and the best answer that I can find is that self closing tags do not support inner html.

I am not sure how to move forward.

aprylisnow commented 6 years ago

I used flow fix me to ignore the errors.

priestmoon50 commented 4 years ago

lol Thanks

asmamakhtout commented 3 years ago

i have the same prob and i'm blocked now

TanvirAlam commented 2 years ago

any solution?

firasat-nizami commented 1 year ago

"Link" is a self-closing tag. make sure the syntax is . if we are using the old way Example , it will not work.

Hope this answer might be helpful to you.