bslib::tooltip(). The web component reads template.content, which only
the browser's HTML parser fills in (a parsed from a real
innerHTML string). Setting children through JSX would append them as
regular child nodes instead, which the component never reads, so the
text goes in through dangerouslySetInnerHTML.
bslib::tooltip(). The web component reads template.content, which only the browser's HTML parser fills in (a parsed from a real innerHTML string). Setting children through JSX would append them as regular child nodes instead, which the component never reads, so the text goes in through dangerouslySetInnerHTML.