preload functionality and the related query function. preload, specifically1. Thefunction is called once per route, which is the first time the user comes to that route. Following that, the fine-grained resources that remain alive synchronize with state/url changes to refetch data when needed. If the data needs a refresh, the refetch function returned in the createResource can be used.preload
2. Before the route is rendered, thefunction is called. It does not share the same context as the route. The context tree that is exposed to thepreloadfunction is anything above thepreloadcomponent.Page
3. On both the server and the client, thefunction is called. The resources can avoid refetching if they serialized their data in the server render. The server-side render will only wait for the resources to fetch and serialize if the resource signals are accessed under a Suspense boundary.preload
preload function is called once per route, but then paragraph (3) says "on both the server and the client, the preload function is called" --> So that's actually twice ? Also why both the server and the client? Aren't server enough for rendering the page content?