Questions tagged [qwik]
98 questions
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 }…

Rishabh nayak
- 16
- 4
0
votes
0 answers
How Get Header Item in qwik and Qwik City
I am set an item called Local in the header in NGINX config but this item or other items that I set, but none of the items in requestEvent Does not exist
My nginx config
server {
listen 80;
server_name example.local;
return 301…

Mohammad Miras
- 143
- 1
- 9
0
votes
2 answers
useNavigate not working qwick-city even the Link is also not working when i try to navigate from a Component
Why useNavigate not working in the header component, even if i try to use the Link it's not working:
import { component$, useStylesScoped$ } from "@builder.io/qwik";
import styles from "./Header.css?inline";
import { useNavigate } from…

crispengari
- 7,901
- 7
- 45
- 53
0
votes
2 answers
How can I implement i18n and l10n in Qwik?
I want to create a new website using Qwik from builder.io.
I can't see in their docs how I can support multi languages.
I want my website to be English by default (no locale to be set in URLs) and for extra languages I want to include the locale in…

Fatemeh motlagh
- 129
- 3
0
votes
1 answer
Is this a problem with the Code Optimizer in the Qwik.js framework?
I'm getting an error that ChatGPT definitely thinks is coming from the code optimizer of Qwik.js, and if that's the case there's unfortunately nothing I can do to debug the issue.
const drawImageTask = useVisibleTask$(() => {
const canvas =…

Adam R. Turner
- 139
- 1
- 2
- 14
0
votes
0 answers
How can I make a dynamic import reactive in Qwik?
Consider this code:
import StaticComponent from './StaticComponent'
const Blog = component$(() => {
let DynamicComponent = null
try {
import('SomePath')
.then(temp => {
DynamicComponent = temp
…

Fatemeh motlagh
- 129
- 3
0
votes
1 answer
How to use document in qwik. Getting document of undefined
How to access document in Qwik js. Getting document of undefined when trying to use document.getElementBtId in a component$

Omair Nabiel
- 1,662
- 2
- 12
- 24
0
votes
1 answer
POST Request Body on a Qwik City API Endpoint
If I have this POST request to an API:
fetch('/api/url/etc', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
username: 'exampleUsername',
password: 'examplePassword',
}),
})
How do I…

PiWizard3852
- 95
- 1
- 11
0
votes
1 answer
TailwindCSS SSR Rendering w/ Dynamic Component w/ Small Bundle Size
Hi everyone ( first post on a forum, sorry for mistakes ), I'm building a library for handle my custom design system logic;
I've searched a lot but it seems like a tailwind limitation, I have many components like TypographyDisplay that has props…

Andrea Peverelli
- 3
- 3
0
votes
1 answer
How to use React components in Qwik?
Is it possible to use React components from a component library in Qwik framework?
I'm trying to use components from a dependency that i have installed but they are written in React.

Kristóf Göncző
- 382
- 1
- 5
- 16
0
votes
1 answer
How can I add script to Qwik's head?
I want to add script to Qwik's root.tsx file. I tried:
But this can not be compiled.
I changed it to become similar to Next.js: