Questions tagged [qwik]
98 questions
0
votes
0 answers
timezone is different between localhost and deployed version of the site
hello everyone :) noob here
how come when i do a date it shows my locale timezone from local build (with npm run preview)
but when i deploy it to cloudflare the webpage i get is on UTC time.
i'd like it to be my timezone too
function…
0
votes
1 answer
Qwik - How to access URL parameters in routeLoader$()?
I want to access the URL parameters with useLocation() in a routeLoader$():
export const useRouteLoader = routeLoader$(
(requestEvent: RequestEvent) => {
const loc = useLocation();
console.log(loc.params);
//Other code
}
);
But it…

Kristóf Göncző
- 382
- 1
- 5
- 16
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 write dynamica CSS in Qwik?
I have this code in Next.js:
As you can see, I'm using style…

Big boy
- 1,113
- 2
- 8
- 23
0
votes
1 answer
How to import client side only npm packages to qwikify$ component?
I have a qwikify-ed React component which imports react-quill.
/** @jsxImportSource react */
import { qwikify$ } from '@builder.io/qwik-react';
import { useState } from 'react';
import ReactQuill from 'react-quill';
export const…

meightythree
- 308
- 2
- 16
0
votes
1 answer
Qwik attribute "q:slot" becames "q: slot" after formatting in VSCode
I'm developing Qwik app in VSCode, there are some special Qwik attributes, for example: q:slot and bind:value. However, when I do format, the editor auto add space after colon, so they become: q: slot and bind: value.
My question is, is there any…

Tan Nguyen
- 1,636
- 1
- 12
- 9
0
votes
1 answer
"useServerTimeLoader" is not exported by "src/routes/layout.tsx", imported by "src/s_u0bwm0i5da8.js"
Im getting the following error when trying to run npm run build in my qwik app:
RollupError: "useServerTimeLoader" is not exported by "src/routes/layout.tsx", imported by "src/s_u0bwm0i5da8.js".
The layout.tsx file exports a routeLoader$ function…
0
votes
1 answer
Best approach to create a GoogleMapsHook for loading the Google Maps API script and accessing functionalities like autocomplete and map in React/Qwik?
I'm working on a Qwik project where I need to integrate Google Maps and its functionalities, such as autocomplete and map rendering, into my application. I want to create a reusable hook that loads the Google Maps API script once and provides…
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 useState Error with Supabase Auth Component
I know there's not a lot of Qwik content on here, but I was wondering if anyone who fundamentally understands component rendering can help me with my question. I am trying to place a Supabase Auth UI into my component$ function like this:
import {…

itsisaac19
- 536
- 3
- 15
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…

Eric Mañangap Razon
- 30
- 3
0
votes
1 answer
Qwik errror during build. ReferenceError: exports is not defined in ES module scope
How to solve this qwik framework error during build a static site:
ReferenceError: exports is not defined in ES module scope
at file:///media/oem/MyFiles/8_DEVELOPMENT/nexasoft/server/@qwik-city-plan.mjs:1:1097
at ModuleJob.run…

Maik col
- 31
- 4
0
votes
1 answer
Qwik: changes not reflected after Vite page reload
I am writing an application with Qwik.
Although one of my components renders without any errors, I found that if I used a signal to perform a conditional rendering (in this case, tooltipVisible) in my code, any changes in my application are not…

jlsdev
- 11
- 2
0
votes
2 answers
How can i change the fill property of and svg image iimported in a component in Qwik
So i have this component where i want to change the fill property of the svg logo imported. But unlike React in Qwik using an image like your calling a component doesn't work. or may be it's because of typescript, because the fill property throw the…

davdev
- 1
- 1