react-indexed-db
react-indexed-db copied to clipboard
TypeError: Cannot assign to read only property 'name' of object '#<Object>'
I see the following error when I run the project!! how can I fix it?
I hit this issue today as well. It appears to happen due to multiple renders, which could be caused by a number of things. In my case, I was using strict mode which in development caused the rendering, and thus apparently attempting to set the name multiple times. Removing that resolved the issue, but is definitely not ideal and would be better if the library handled the idempotency for multiple renders.