3 ms·
How do you make sure that all your components have access to the same channel? In a typical setup you'd use something like webpack to import modules from separa
by geonic 11y ago
How do you make sure that all your components have access to the same channel? In a typical setup you'd use something like webpack to import modules from separate files. Calling var channel = csp.chan() in each of these will create unique channels, doesn't it? The way I see it you'd need to pass this channel down to each component.