Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

React Native, onChange{(text) => setState(text)} is returning an object instead of a string. Eventhough the default value is a String. Why

{ nativeEvent: { eventCount, target, text} }
 
PREVIOUS NEXT
Tagged: #React #returning #object #Eventhough #default #Why
ADD COMMENT
Topic
Name
2+9 =