om-next

Pontus 2018-01-31T06:49:41.000104Z

Hello, could anyone explain the reason for separating computed props (`computed`/`get-computed)` from other props when you pass down props to a child component? What's the reason you shouldn't just e.g. pass down a callback function as a normal prop? I tried just using a normal prop for a callback and it seems to work, but read that it's better to use computed-props.

claudiu 2018-01-31T10:46:59.000429Z

@pontus.colliander It's explained really well here (Fulcro is an om-next fork, differs a bit but some of the core concepts like computed are exactly the same) http://book.fulcrologic.com/#_passing_callbacks_and_other_parent_computed_data

Pontus 2018-01-31T16:36:06.000733Z

Thanks a lot! Much clearer now