Fork me on GitHub
#om
<
2015-07-17
>
denik14:07:01

@mattly my use-case is where I want to find the first visible (within the bounds of it’s parent) component, and update the state on it. So it’s something to call on did-mount. I think I will just revert to indexes and update the state used to build all child components at the idx of the visible component

mattly16:07:37

I’ve found that many things I used to use components with children for in regular React aren’t related to ‘data’, they’re effectively functions that return html and maybe respond to helper functions,

mattly16:07:57

so instead of using components for those things in Om I’m just using actual functions

denik17:07:54

@mattly: will keep that in mind, thanks again