Victory-native: Warning: React.createElement type

Created on 24 Oct 2016  路  3Comments  路  Source: FormidableLabs/victory-native

I'm getting this warning in debugger console:

ExceptionsManager.js:82
Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).

victory-native: 0.4.0
react-native: 0.32 and 0.35
react-native-svg: 4.3.1

I tried it in newly initialized blank project.

warning

Anybody have an idea what exactly is the problem?

Most helpful comment

@matejkriz - Yes!! Thank you for finding this. It's been plaguing me for at least a week now.

All 3 comments

the problem is with _ClipPath_ defaultProp in
_/victory-clip-container/victory-clip-container.js_

is it safe to remove it? it looks like it is never used

@matejkriz - Yes!! Thank you for finding this. It's been plaguing me for at least a week now.

This fix also solved an issue I was having that prevented animations from working.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hwaterke picture hwaterke  路  6Comments

xkawi picture xkawi  路  4Comments

WhyX picture WhyX  路  6Comments

UtkarshPramodGupta picture UtkarshPramodGupta  路  5Comments

ericschaal picture ericschaal  路  4Comments