import { component$ } from "@builder.io/qwik";
import {
routeLoader$,
Form,
routeAction$,
server$,
} from "@builder.io/qwik-city";
// WARNING: The return of `routeLoader$()` needs to be exported in the same module, like this
const useDadJoke = routeLoader$(async () => {
});
// WARNING: The return of `routeAction$()` needs to be exported in the same module, like this
const useJokeVoteAction = routeAction$((props) => {
});
export default component$(() => {
const dadJokeSignal = useDadJoke();
const favoriteJokeAction = useJokeVoteAction();
return ...;
});
Which component is affected?
Qwik Runtime
Describe the bug
Reproduction
above
Steps to reproduce
No response
System Info
Additional Information
No response