Hi Folks. Does anyone know how to generate and populate a js template literal from Reason or Bs? For example:
let view state =
[%magic `<div>${state.name}</div>` %]
I can use raw tags to create a template literal, but I don’t see any direct way to populate the variable fields.
[%raw {| `<div>${state.name}</div>` |}]
Has anyone attempted this before? Any help is appreciated!