;sntz=1&usg=AFQjCNHG0ENmMJ6Xdl33LT0ro0j3HxWi_g>
On Friday, March 21, 2014 6:09:57 PM UTC+2, David Nolen wrote:
>
> On Fri, Mar 21, 2014 at 11:45 AM, Adrian Miron
>
> > wrote:
>
>>
>>
>> On Thursday, March 20, 2014 10:58:08 PM UTC+2, David Nolen wrote:
>>>
Yes, a shared channel looks nice :-)
https://github.com/amiron/tryouts/blob/master/src/cljs/tryouts/notifications.cljs#L11-L25
On Friday, March 21, 2014 6:09:57 PM UTC+2, David Nolen wrote:
>
> On Fri, Mar 21, 2014 at 11:45 AM, Adrian Miron
>
> > wrote:
>
>>
>>
On Thursday, March 20, 2014 10:58:08 PM UTC+2, David Nolen wrote:
>
>
> If you don't pass app state data to this component then you don't need to
> bother with build at all. If you need a component that doesn't need app
> state but does need component local state you need to use om.core/graft.
I'm starting to use om in some projects and one of the first components I
had to build was a simple notification component. It shows a message at the
top of the page. Other components in the page will use it to display
messages when errors happen.
My idea was to send the message string to it v