Likewise, a small little tip, I've two different loggers, one for server components / ssr / middlewa
Likewise, a small little tip, I've two different loggers, one for server components / ssr / middleware and one (using a hook) for client components.
The reason I do this is that I can add more context to the logs this way based on which context we are, here's rough examples:
Probably smarter ways to do this but this has worked pretty well!
The reason I do this is that I can add more context to the logs this way based on which context we are, here's rough examples:
Probably smarter ways to do this but this has worked pretty well!
message.txt3.26KB

