Questions tagged [qwikjs]

19 questions
1
vote
2 answers

Hashing Passwords with Vercel-Edge Adapter in Qwik City

I have the following code, which uses the argon2-browser package to hash the user's password in a server function: export const authSignup = server$(async function ( firstName: string, lastName: string, email: string, password: string, …
PiWizard3852
  • 95
  • 1
  • 11
1
vote
1 answer

How to make an offline PWA with Qwik Framework?

This is what I get when I disable my PWA connection. I'm breaking my head trying to get my PWA developed with Qwik framework to work offline. I've read the documentation, looked for examples, tried Vite-PWA and a manual service-worker registration…
1
vote
1 answer

How to extend callback QRL in child component in Qwik JS?

In Qwik JS I am trying to create a modal that closes when Esc is pressed. The modal needs to be accessible from anywhere, so I put it in layout.tsx. layout.tsx import {component$, Slot, useStore} from '@builder.io/qwik'; import Header from…
minitauros
  • 1,920
  • 18
  • 20
0
votes
0 answers

How manage Theme value persistent in QwikJS

i want to handle like whit but, the code not run on browerser the first time useTask$(({ track }) => { track(() => themeAppearance.value); if (isBrowser) { const savedTheme = localStorage.getItem("themeApp"); console.log("from…
0
votes
0 answers

Nodemailer causing build failures in Vercel with Qwik app

I'm running into an issue deploying my Qwik app to Vercel. Whenever nodemailer is imported, it causes the build to fail with this error: [commonjs--resolver] Cannot bundle Node.js built-in "events" imported from…
0
votes
0 answers

Multiple scoped Styles in QuickJS

I tried to use two style sheets for my header component, one for the layout and the other is for the color scheme. I tried all means of concatenation but still giving me error. I can combine two css files into one but that is not in my plan…
resti
  • 7
  • 2
  • 6
0
votes
1 answer

Qwik JS error - Only primitive and object literals can be serialized

I have a signin page which is built upon Qwik & appwrite. There is a piece of code where I'm trying to get the current user's session details & If I get the session details then I'm redirecting the user to the "dashboard" page. Below is the code…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
0 answers

Custom CSS not loading on page refreshes in Qwik app

I'm working on a Qwik web application and have run into an issue where my custom CSS files are not being applied on page refreshes. In my router-head.tsx, I'm importing the CSS files like: This…
0
votes
1 answer

how to prevent "routeLoader$" from executing 2 x when using "resolveValue"?

See this example causes my "routeLoader$" to be clled 2 times, which is an issue for obvious reasons? I couldnt understad how to prevent this. Please help: export const useNewsLoader = routeLoader$(async () => { return { data: 'example' …
jhon dano
  • 660
  • 6
  • 23
0
votes
2 answers

how to update dom when changes to useSignal value in qwik?

The "console.log" outputs the updated values to console, which suggest that the changes actually have taken place... However the "li" list items are not showing up in the browser!? Can you please help me to understand whats wrong? Here is the…
jhon dano
  • 660
  • 6
  • 23
0
votes
1 answer

ESLint is giving warning - Parsing error: Identifier expected in Qwik

Getting the following warning in my vscode editor from eslint Parsing error: Identifier expected.eslint (property) bind: value: Signal I can understand the typescript yelling at me due to some type mismatch, but I can't figure out how to…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
1 answer

How to clear form in qwik using routeAction?

I've built one signup form in Qwik using routeAction$() & zod. Everything is working fine except for one thing I want to clear out the form fields(name, email, password) when the user account is successfully created. Right now, the form fields are…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
1 answer

How to add classes conditionally in Qwik template?

I've one form input field where I want to add some classes to make the border of the input box as red color when I'll get some validation error in the html form. How can I do this? Currently, I'm using the following code to show the validation error…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
1 answer

Qwik-react calendar plugin '@aldabil/react-scheduler' showing but not functional: How to troubleshoot?

Qwik-react Scheduler not working. I was trying to use the "@aldabil/react-scheduler" react plugin in my qwik app using qwik-react but I got this error. the calendar is showing but the functionality is not working like when I cliked the cell there's…
0
votes
2 answers

Qwik Lottie also rive not working shows same error "useClientEffectQrl is not a function"

Qwik Lottie also rive not working shows same error "useClientEffectQrl is not a function". Someone please help me with this , I am not able to find the solution in the docs "Qwik version 1.0.0" . here is the code. import { component$ ,useStore }…
1
2