Yes, this is right. Since its all JS functions, it enables more compositional style. So using HOCs is encouraged. Using deeply nested structures with the `View` primitive is only slightly more usable than `React.createElement` or `h`.
Thanks. I can understand why it seems less legible. It requires more functional components before things are as or more legible than JSX (maybe this is personal preference?). The main goal is something that doesn’t carry all the baggage that using Babel transpilation does
4
u/[deleted] Jul 28 '19
I'm really not following how this would work for a complex example.
Can you translate this ContactUs form into ScriptUI so I can see how props are supposed to be passed down?