Skip to content

Commit

Permalink
docs: routeLoader adjustment (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamatoyogi committed Jun 11, 2023
1 parent bd41cb4 commit 1d1126d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ contributors:

# `routeLoader$()`

Route Loaders load data in the server so it becomes available to use inside Qwik Components. They behave like RPC server-side functions that can be invoked by Qwik Components during rendering.
Route Loaders load data in the server so it becomes available to use inside Qwik Components. They trigger when SPA/MPA navigation happens so they can be invoked by Qwik Components during rendering.

Route Loaders can only be declared inside the `src/routes` folder, in a `layout.tsx` or `index.tsx` file, and they MUST be exported.

Expand Down

0 comments on commit 1d1126d

Please sign in to comment.