Open haynajjar opened 4 years ago
@amark the new null behaviour needs to be documented somewhere @haynajjar in order to delete you can:
Thank you @sirpy
The second option may work for me with some workaround. Still, it would be great if there is a way to reuse the same path even after setting null.
It seems Gun no longer generates unique ids for paths, therefore it will update the same souls' data each time we try to "put". That may have created an inversion of control from Gun to the user in order to manage his own souls and make Gun faster. But it has created other problems concerning replacing data.
Maybe Gun can add some options to choose to generate a new soul with some prefix.
I don't know, maybe I am missing something, I hope this matter is under consideration.
@amark could probably shed some light on this
I use gun 0.2020.430
When i try to delete a node and then use the same path to add new values, I get the following strange result,
Is there any other proper way we can use it to delete nodes and use them later?