Hey, the following use-case was needed for my personal use:
Use an external script
Initialize it with some values.
The existing option is only to create a deferrable script tag. and one more thing, the inline script was rendered before the script tag, for example:
this config
Hey, the following use-case was needed for my personal use:
The existing option is only to create a deferrable script tag. and one more thing, the inline script was rendered before the script tag, for example: this config
will result:
In my case, the order of the script tag and inline script is reversed. moreover, you can also create a non deferable script tag like so:
IDK how needed it is, but it helped me :)