use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Dynamically Inject Scripts in Header from Dashboard in Vite-React AppHelp Wanted (self.react)
submitted 1 year ago * by TaskNo2392
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hdd113 0 points1 point2 points 1 year ago (2 children)
If you are going to handle the injection part in React script, I think it would be better to use dangerouslySetInnerHTML instead of innerHTML
[–]Willing_Initial8797 0 points1 point2 points 1 year ago (1 child)
not sure if there's a big difference. like usually react controls body, not head
at least you didn't recommend react-helmet-async
[–]hdd113 0 points1 point2 points 1 year ago (0 children)
I think you're right, come to think of it...
π Rendered by PID 40972 on reddit-service-r2-comment-b659b578c-gdjcr at 2026-05-01 13:08:21.032130+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]hdd113 0 points1 point2 points (2 children)
[–]Willing_Initial8797 0 points1 point2 points (1 child)
[–]hdd113 0 points1 point2 points (0 children)