Fork me on GitHub
#cljsrn
<
2016-07-18
>
vikeri06:07:08

@pvinis: Inline styling as in js-styling is the only way to style RN components, but otherwise you can just reference a map as per @misha’s example

pvinis07:07:51

@misha: i will do it like that. thanks.

misha14:07:51

greetings! did anyone measure how components amount affects rendering times? I mean a bunch of nested dummy views (for styling/layout purposes) vs. minimum views, something like:

(view {:style s/page}
  (view {:style s/page-row})
    (view {:style s/page-row-margins}
      (my-actually-useful-component ...))))
vs.
(view {:style s/page}
  (my-actually-useful-component {:style s/margins-etc-to-look-like-row} ...))))