A more complex tRPC Weather Example
The below example is the same WeatherDemo that is used in the
React Server Components (RSC) page
. The only difference is this one is rendered on the client and the RSC example is rendered on the server.
WeatherDemo
This example gets weather information from the
UK Met Office
for the last 24-hours.
The actual weather table component is used in both the RSC and tRPC examples. In each case the live data retrieved from the Met Office is passed to the Weather table component.
tRPC Weather example
Loading...

FUTORO