Could you please share the details? I don't know about a way to render the same template in the browser and nativescript.
const renderEl = flex("UserList", [
label("User", ["Alice"]),
label("User", ["Bob"]),
]);
In NativeScript, you would have these functions create those types of UI elements. For web, they'd probably produce divs and spans.Ofc, there will be certain elements that are native only, or require really special stuff to create.