---
title: "Comment by Siddharth Vishvanath (Sid) on \"Observer Pattern In JS (RxJS at its basic)\" | Hashnode"
description: "Can i use this to sync changes between tabs within the same window."
url: "https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4/comment/5da17aa0ac85846e618752b6"
---

[Discussion](https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4)

Comment [Observer Pattern In JS (RxJS at its basic)](https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4)

[Siddharth Vishvanath (Sid)](https://hashnode.com/@Sid92)

[Oct 12, 2019](https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4/comment/5da17aa0ac85846e618752b6)

Can i use this to sync changes between tabs within the same window.

[Tej Pratap Singh](https://hashnode.com/@tejpratap)

[Oct 12, 2019](https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4/comment/5da17aa0ac85846e618752b6#reply-5da1c75bc749c77361675ae1)

No, this code is just to show how we can design our app using Observer Pattern.

To sync data across tabs, you need to either bind listeners to IndexedDB or Use WebRTC within local tabs.

[Siddharth Vishvanath (Sid)](https://hashnode.com/@Sid92)

[Oct 12, 2019](https://hashnode.com/posts/observer-pattern-in-js-rxjs-at-its-basic/5da10837c749c773616756d4/comment/5da17aa0ac85846e618752b6#reply-5da1e2b0c749c77361675bdc)

Okay thank you
