How would you console log in Gatsby js?

Viewed 1956

In any other environment console.log('hello world') should print in the terminal when the line of code is executed but in Gatsby Js no matter what I try or where I look to understand what's going on I'm still left confused. Could someone explain what's going on with Gatsby not allowing me to console log?

1 Answers

Solution: Needed to use the browser's console opposed to the terminal in which the app is running on. Came from React-Native where console logging would print in the terminal window running the app.

Related