Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my case, you basically just take some code like this:

    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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: