kittenTricks icon indicating copy to clipboard operation
kittenTricks copied to clipboard

Expo web console logs

Open sven09 opened this issue 4 years ago • 2 comments

I love your work!

💬 Question related to Version 2.4.0 of Kitten Tricks

After starting expo web version: There are the following console logs:

index.js:1 Warning: Invalid value for prop dispatch on <div> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior

index.js:1 Warning: React does not recognize the marginHorizontalprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasemarginhorizontal instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Warning: Failed prop type: Invalid props.style key labelFontFamilysupplied toView.

Warning: Invalid value for prop iconon <input> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM.

Warning: Unknown event handler property **onIconPress**.

And some more

Question: Are those issues related to ui-kitten or are coming from underlying components? Any idea how to remove them?

sven09 avatar Feb 26 '20 12:02 sven09

Invalid value for prop dispatch on

tag.

Failed prop type: Invalid props.style key labelFontFamily

Unknown event handler property onIconPress

This is UI Kitten issues which will be fixed in v5 https://github.com/akveo/react-native-ui-kitten/issues/896

Think about Kitten Tricks as a demo application. React Native for Web is not our primary goal. But we support it on that level we can 👍

artyorsh avatar Feb 26 '20 13:02 artyorsh

Cool. Yes Kitten Tricks is a demo (a 100% cool demo). I love your support and answers!

sven09 avatar Feb 26 '20 13:02 sven09