complete-intro-to-react icon indicating copy to clipboard operation
complete-intro-to-react copied to clipboard

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

Open aprylisnow opened this issue 7 years ago • 5 comments

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 avatar Jan 24 '18 16:01 aprylisnow

I used flow fix me to ignore the errors.

aprylisnow avatar Jan 24 '18 16:01 aprylisnow

lol Thanks

priestmoon50 avatar Dec 30 '19 08:12 priestmoon50

i have the same prob and i'm blocked now

asmamakhtout avatar Jun 14 '21 21:06 asmamakhtout

any solution?

TanvirAlam avatar May 11 '22 09:05 TanvirAlam

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

Hope this answer might be helpful to you.

firasat-nizami avatar Dec 16 '22 16:12 firasat-nizami