Reputation: 487
I don't know if I did something wrong.
After I run my app, this is what terminal shows:
Here is a screenshot of my terminal
And whatever I tried to log to terminal using "console.log" doesn't show up there
I don't know where console.log has its output directed to but obviously not my terminal...
Upvotes: 15
Views: 24024
Reputation: 13463
React.js applications run in your browser, not server. If you're using Chrome, use CTRL+SHIFT+J to launch the browser console to see the logs.
The logs will only show in your terminal if you use console.log
in your Node.js server-side code.
Upvotes: 28