Calling init() on Grapes after changing HTML fails. This kinda situation happens on one page apps.
I think a destory() function to gracefully reset Grapes is needed.
http://yahoo.com
If "Add Grapes" and "Remove Grapes" are clicked without any changes to HTML, it's fine.
As already mentioned here, currently, I don't see any value in starting such a feature (creating a good destroy method) but would really happy to see some PR :)
Looks like I'm not the only one who wants this 馃槈 . Single page apps are where this has value (the issue I raise but also freeing up some memory).
I'll look to raise a PR when I got something.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Looks like I'm not the only one who wants this 馃槈 . Single page apps are where this has value (the issue I raise but also freeing up some memory).
I'll look to raise a PR when I got something.