How to Inspect React Server Component Activity with Next.js and OpenTelemetry
1–10 of 52 posts
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#2Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#3Web browser developer tools are incredible, but what do you do when more of your work is shifting to the server? These tools are no longer available or only provide minimal insights. Bye-bye network tab and source tab! That's a challenge for developers adopting React Server Components (RSCs).
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#4Web browser developer tools are incredible, but what do you do when more of your work is shifting to the server? These tools are no longer available or only provide minimal insights. Bye-bye network tab and source tab! That's a challenge for developers adopting React Server Components (RSCs).
Not quite sure what the big challenge is here. If the work is shifting to the server, you debug on the server! Read the logs. Attach a debugger. Instrument the code if you must! All that usual stuff. This is how web-development has been since the days of CGI. What am I missing?
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#5Web browser developer tools are incredible, but what do you do when more of your work is shifting to the server? These tools are no longer available or only provide minimal insights. Bye-bye network tab and source tab! That's a challenge for developers adopting React Server Components (RSCs).
Not quite sure what the big challenge is here. If the work is shifting to the server, you debug on the server! Read the logs. Attach a debugger. Instrument the code if you must! All that usual stuff. This is how web-development has been since the days of CGI. What am I missing?
I've noted a tendency to not log stuff in some js-first devs i know ... they all say 'i'll reproduce it locally'...
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#6Earlier quoted context omitted.
Not quite sure what the big challenge is here. If the work is shifting to the server, you debug on the server! Read the logs. Attach a debugger. Instrument the code if you must! All that usual stuff. This is how web-development has been since the days of CGI. What am I missing?
> Read the logs. I've noted a tendency to not log stuff in some js-first devs i know ... they all say 'i'll reproduce it locally'...
or is it best practice to patch with logs only without reproduction
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#7Web browser developer tools are incredible, but what do you do when more of your work is shifting to the server? These tools are no longer available or only provide minimal insights. Bye-bye network tab and source tab! That's a challenge for developers adopting React Server Components (RSCs).
Not quite sure what the big challenge is here. If the work is shifting to the server, you debug on the server! Read the logs. Attach a debugger. Instrument the code if you must! All that usual stuff. This is how web-development has been since the days of CGI. What am I missing?
But you are of course also right that you can just attach a debugger. That's also called out in the article.
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#8RSC is a cool feature, but I'm still not convinced that the added churn of thinking about "colours" when building components and structuring the component tree is worth it for the benefits it gives.
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#9Earlier quoted context omitted.
> Read the logs. I've noted a tendency to not log stuff in some js-first devs i know ... they all say 'i'll reproduce it locally'...
how else would one reproduce a bug? in production? or is it best practice to patch with logs only without reproduction
Of course that requires a certain operational maturity.
Re: How to Inspect React Server Component Activity with Next.js and OpenTelemetry
#10I'm really not a fan of the "what colour is your component" situation introduced by RSC. RSC is a cool feature, but I'm still not convinced that the added churn of thinking about "colours" when building components and structuring the component tree is worth it for the benefits it gives.