remix
remix copied to clipboard
nonce support for defer inline scripts
Because security please :)

Looks like this is a React issue as well: https://github.com/facebook/react/issues/26026
But Deferred will need these as well I think.
React actually does support nonce, so we just need support for this in Remix's deferred-related scripts.
This issue has been automatically marked stale because we haven't received a response from the original author in a while 🙈. This automation helps keep the issue tracker clean from issues that are not actionable. Please reach out if you have more information for us or you think this issue shouldn't be closed! 🙂 If you don't do so within 7 days, this issue will be automatically closed.
Still relevant.
I'm hitting this issue too. I wasn't successful in writing any tests for <Scripts />
+<Await />
(JS beginner, sorry) so unfortunately can't make a PR but a tweak to #359 to pass the <Scripts /> props down through the internal DeferredHydrationScript seems to solve this issue and #5539, in case it gives someone else a head-start here.
Fixed by #6389 and will be available in the next release
🤖 Hello there,
We just published version v0.0.0-nightly-ad9adee-20230615
which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version v0.0.0-nightly-12440f3-20230616
which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version 1.18.0-pre.0
which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version 1.18.0
which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!