Open NatyveCoder opened 3 years ago
For what it's worth (a month and a half later), I haven't had a problem getting text to the console. Or, rather, as long as I put console.log()
somewhere sensible that doesn't break the build--because I have a tendency to clumsily drop it in the middle of a render--it worked.
If you don't mind my asking, how are you triggering state changes? In my note-taking program, my multi-line TextInput
includes onChangeText={text => this.noteUpdated(text)}
, where noteUpdated()
handles state-tracking and other things. A lot of logging statements have gone in there, though I don't think there are any left just now.
I've also had decent success with Winston for a more complicated project, where I wanted to keep the output.
Is your feature request related to a problem? Please describe. I have no idea how to debug my application
Describe the solution you'd like I expected console.log() to log to the terminal, but there is no output in the terminal
Describe alternatives you've considered I'm not sure what alternatives there are.
Additional context I'm trying to do a simple input-output app as a hello-world example. Type in text in a textbox up top, and the hashed output is output to the Text component. There is no output in my text component, and I have no way of debugging to see if my hash function is being called when the TextInput value is being changed.