I'm submitting a ...
Whenever using a Button and a Text component with ReactJS v16..0 even though elements are render and they work as expected an error message is displayed with the text:
Warning: Invalid value for prop
dispatchontag. 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-behaviorCurrent behavior:
Use a Button element in a render function, when element is render in the browser the error is displayed in the console.Expected behavior:
Not display error message.Related code:
import React, { ChangeEvent } from 'react'; import { Button, Text } from 'react-native-ui-kitten'; const Test: React.FC<TestProps> = (props) => { return ( <Button onPress={goNext} > Next </Button> ); }; interface TestProps { } export default Test;Other information:
OS, device, package version
"react": "16.9.0", "react-native-web": "0.11.7", "react-native": "0.61.1"
Thanks for the report @rfretes. We're still working on better support of react-native-web and I guess this will be fixed soon 馃槃But currently, please, consider using RNW as a beta feature :)
Shouldn't this be kept open? Web support was announced on July 11th, and while it is experimental these issues allow for keeping track of what needs to be done to get closer to production-grade support.
Just my two cents
Most helpful comment
Shouldn't this be kept open? Web support was announced on July 11th, and while it is experimental these issues allow for keeping track of what needs to be done to get closer to production-grade support.
Just my two cents