Skip to content

Commit

Permalink
docs: add routeAction$ caveat
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Sep 11, 2023
1 parent 057d5c9 commit 79f1ff2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/docs/src/routes/docs/(qwikcity)/action/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ Under the hood, the `<Form/>` component uses a native HTML `<form>` element, so

When JS is enabled, the `<Form/>` component will intercept the form submission and trigger the action in SPA mode, allowing to have a full SPA experience.

> This is to clarify that the server re-renders the whole page and re-executes everything, so if you have any [routeLoader$](/docs/route-loader/) they will be executed too.
[Complex forms](/docs/advanced/complex-forms) can be created using dot notation.

## Using actions programmatically
Expand Down Expand Up @@ -400,4 +402,4 @@ import { globalAction$ } from '@builder.io/qwik-city';
export const useLogin = globalAction$((data) => {
// ...
});
```
```

0 comments on commit 79f1ff2

Please sign in to comment.