Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing rooms array in localstorage is giving an error that the object is circular #2152

Open
mmeksasi opened this issue Feb 3, 2022 · 1 comment

Comments

@mmeksasi
Copy link

mmeksasi commented Feb 3, 2022

Hello It takes about 5s to 7s to have the state prepared that's why i need to save the rooms in local storage so I don't show the loading indicator but I'm facing problems with JSON.stringify as rooms is a circular object I'm using client.getRooms is there a workaround to fix this problem please without losing data from the array when storing it and getting it

@dangiyash
Copy link

is this issue still persisting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants