How to setup atom with nuclide plugins.
You need to install next packages
|const sleep = (timeout, v) => new Promise(r => setTimeout(() => r(v), timeout));|
|// series to call|
|const series = [() => sleep(1000, 1), () => sleep(1000, 2), () => sleep(1000, 3)];|
|const r = series|
|(m, p) => m.then(v => Promise.all([...v, p()])),|
If you use
css-modules and want to restyle some base component without changing its code.
(base component already use css-modules and exposes
I know two way how to do it.