Owen Ayres
Sep 1, 2018 · 1 min read

Actually, what I said was incorrect in my use-case… Turns out, I think I’m just misunderstanding the concept. I want to have a shared namespace, user. My Header component and some other page both subscribe to it.

If either one of them unsubscribes at any point because they unmount, it unsubscribes the whole thing. I thought it’d just unsubscribe for the given component

    Owen Ayres

    Written by

    JavaScript lover; React evangelist.