question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot add new property '__reanimatedHostObjectRef'

See original GitHub issue

Simulator Screen Shot - iPhone 12 Pro Max - 2021-12-31 at 14 22 02

When I pass the data returned from the API I get an error: Cannot add new property '__reanimatedHostObjectRef'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:42 (29 by maintainers)

github_iconTop GitHub Comments

9reactions
kosbogcommented, Oct 25, 2022

Faced with this issue in v3.1.1 This fix helps data={JSON.parse(JSON.stringify(data))}

5reactions
dohooocommented, Apr 3, 2022

It looks fine, I have released the official version, 2.3.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot add new property '__reanimatedHostObjectRef' #1517
When an object is assigned to a shared value, that object gets mutated by reanimated and a property called __reanimatedHostObjRef gets added.
Read more >
Cannot add new property '__reanimatedHostObjectRef' React ...
I am developing a project where I have a listiview and showing 150-200 customers. There is a feature where I need to drag...
Read more >
runOnJS | React Native Reanimated - Software Mansion
runOnJS returns a function which can be safely run from the UI thread. Example​. Here is an example of calling a javascript callback...
Read more >
Cannot add property <propName>, object is not extensible
So I was referencing an object that didn't exist anymore and there was some kind of grab the reference before the old one...
Read more >
cannot add property 1 object is not extensible - You.com
defineProperty () throws when adding a new property to a non-extensible object. To fix this error, you will either need to remove the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found