Currently, there's no ToJavascript instance of String and Text. I've read this blog post. It says:
Down the road, it will likely make sense to add in ToJavascript instances for common types which first convert to JSON. However, doing so in this first release would mean that old code would silently change its semantics.
Still need to consider backwards compatibility?
Currently, there's no
ToJavascriptinstance ofStringandText. I've read this blog post. It says:Still need to consider backwards compatibility?