Fork me on GitHub
#om
<
2016-06-21
>
anmonteiro00:06:41

@danburton: you can either use ui or set the params in componentWillMount

urbanslug08:06:51

Hey, if I wanted to get the result of a channel in an Om component how would I do this?

urbanslug08:06:15

I think I will mount

anmonteiro12:06:02

@peeja: yeah, I got your point now

anmonteiro12:06:11

I’m not familiar with the React devtools though

anmonteiro12:06:00

to answer your SO question, I normally just create pure functions that return elements

anmonteiro12:06:38

so, yeah, I suppose it skips creating a component instance in the render tree

peeja14:06:53

Yeah, fair enough. If that's common practice, then we're in good company. 🙂

anmonteiro17:06:30

@cmcfarlen: reading your issue in Compassus. Could you show me a simple example of what’s not working for you?

cmcfarlen18:06:59

@anmonteiro: sure, let me put a gist together

cmcfarlen18:06:11

see componentDidMount on the Item component for my attempt at setting params

cmcfarlen18:06:40

If you click between the /item/42 and /item/2 links the component doesn't update