akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
https://akveo.github.io/react-native-ui-kitten/
MIT License
7.13k stars 992 forks source link

Expo web console logs #274

Open sven09 opened 4 years ago

sven09 commented 4 years ago

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 propdispatchon <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 themarginHorizontalprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasemarginhorizontalinstead. If you accidentally passed it from a parent component, remove it from the DOM element.

Warning: Failed prop type: Invalid props.style keylabelFontFamilysupplied toView.

Warning: Invalid value for propiconon <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?

artyorsh commented 4 years ago

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 👍

sven09 commented 4 years ago

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