You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow printing any code fragments directly (unchecked) to .js output, also html fragments for .jsx.
You can only use constant strings or interpolated strings as argument.
JS.Verbatim $"console.log({x})"// translated to: `(console.log(x))`
JS.Html $"<div>{x}</div>"// translated to: `(<div>{x}</div>)`
The text was updated successfully, but these errors were encountered:
I really find the name JS.Html confusing - since it's a trigger to generate .jsx, I'd rename it to something more explicit such as JS.jsx. One bonus is that when renamed properly, it also becomes compatible with vscode-template-fsharp-hightlight.
To allow printing any code fragments directly (unchecked) to .js output, also html fragments for .jsx.
You can only use constant strings or interpolated strings as argument.
The text was updated successfully, but these errors were encountered: