question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
priestmoon50commented, Dec 30, 2019

lol Thanks

0reactions
firasat-nizamicommented, Dec 16, 2022

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

Hope this answer might be helpful to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Router link giving warning " link is a void element tag and ...
when i am trying this, it gives me this warning and its not working "Warning: link is a void element tag and must...
Read more >
Void elements should neither have children nor ... - DeepScan
This rule applies when void elements have either children or dangerouslySetInnerHTML prop. HTML elements such as <area /> , <br /> , and...
Read more >
React Fixing input is a void element tag and must neither have ...
It covers fix for an error in react - input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`...
Read more >
React input is a void element tag and must neither ... - YouTube
if you are facing below issue with React it might help you to solve input is a void element tag and must neither...
Read more >
input is a void element tag and must neither have ... - YouTube
Unhandled Rejection (Error): input is a void element tag and must neither have ` children ` nor use ` dangerouslySetInnerHTML `. in input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found