let result = { updateStore: new Subject() } keys.forEach(key => { if (!!initialState[key] && typeof(initialState[key]) === 'object' && !Array.isArray(initialState[key])) {
result .updateStore .withLatestFrom(parnetStore, selfStream, (change, store, nextStore) => { return { [name]: { ...store[name], ...nextStore, ...change } } }) .subscribe(parnetStore) return result } Contact GitHub API Training Shop Blog About