complete-intro-to-react
complete-intro-to-react copied to clipboard
v3: link is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.
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.
I used flow fix me to ignore the errors.
lol Thanks
i have the same prob and i'm blocked now
any solution?
"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.