Skip to content

Don't work with react-native 0.64.2 #37

@jsellam

Description

@jsellam

Hi, I updated my app to react-native 0.64.2 from 0.63.x and your package don't work on ios release mode.

I have this error in xcode logs :

[javascript] TypeError: undefined is not an object (evaluating ‘f.tag’)
This error is located at:
  in l
  in Connect(l)
  in f
  in Unknown

After some investigations, I use redux-i18n that is using react-deep-force-update

The problem is in :

  var root = instance._reactInternalFiber || instance._reactInternalInstance;
  if (typeof root.tag !== 'number') {
    // Traverse stack-based React tree.
    return deepForceUpdateStack(instance, shouldUpdate, onUpdate);
  }

root is undefined and can't find tag property.

thx
Jeremie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions