nikolay-govorov / nanomerge

Tiny universal isomorphic library for deep merging objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird endless loop

mesqueeb opened this issue · comments

I'm not sure what's happening here, but I'm stuck in an endless loop...

GIF:
2018-07-27 13 46 58

Do you have any advice on what info I could give you to try and re-produce this?

Hi, thanks for participating.

  • What version of packages do you use?
  • At what sites is this happening?

Dear Nikolay,
After much tinkering in the console, this endless loop is not the source of the origin, and I realised that the source comes from the same source as the other issue:
#4

The other issue appeared on an older version of nanomerge. This issue on version ^0.2.1

Also I can trace the problem back to nanoclone, which is one of your dependencies, and its compatibility with the User object from Firebase auth.

It seems that nanoclone is not able to clone this user object.

Firebase user object docs: https://firebase.google.com/docs/reference/js/firebase.User

@nikolay-govorov
I posted the bug at the nanoclone repo here:
Kelin2025/nanoclone#10

Try to upgrade to version 0.3 and tell me if the problem is playing?