Closed frankcollins3 closed 1 year ago
closing issue.. this suggested idea is now stored as a repo so it isn't out of visibility [3:06am]
spoke too soon. "use client" right above the component and the logs go to client. interesting to wonder how to do this though, to make an npm i that would run server logs to client without "use client" [3:07am]
following along with this below youtube video to see Next 13.4.9 routing in example. https://www.youtube.com/watch?v=gQDzu7lmtfM
routing
i.e.
app/page.tsx -->
being server components, these logs don't show up in the browser, they show up in the console. If it's not already done, it would be a cool idea to make an npm i that takes server logs, and if they're encapsulated by a: browser.log()
browser.logEnd() // similar to console.group()
This parent wrapper would check the server logs and put those logs into the google chrome browser.