-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Description
Quick Summary:
Consider revisiting the string interpolation syntax (#905).
SSCCE
In react and other UI libraries, there's some kind of string interpolation.
function Interpolate ({ val}) {
return <div>Interpolation of {val}</div>
}
Why not elm?
import Html exposing (div)
view model = div [] [text "Hello {{ model.name }}. Nice to meet you!"]
Of course, I'm new to elm so I don't really know much, but the way I see it, es6 JavaScript kind of has the upper hand when it comes to string interpolation.
SomeoneSerge
Metadata
Metadata
Assignees
Labels
No labels