Questions tagged [qwik]
For questions about Qwik which is a framework for building web applications that are instantly interactive.
qwik
131
questions
0
votes
0
answers
11
views
How can I improve performance in rendering a 3D Model in Three JS
I have some code for importing a 3D model (locally saved) and rendering it inside of my site via Qwik and Three js. The only problem is, that it causes the site performance to crash astronomically and ...
0
votes
1
answer
22
views
Cannot create a Qwik QRL when creating a form
Good morning/afternoon/evening, I have been scratching my head with this throughout the course of the day, and I cannot see a reason why Qwik would exhibit this behaviour:
import { component$ } from &...
0
votes
0
answers
20
views
How can I import and use only part of a js file in Qwik?
is there a way to have a javascript file that you can import a small part of and then reference in your tsx code via an img tag or otherwise in Qwik? Here's my js code and a way that worked in html.
...
0
votes
0
answers
14
views
QwikJS does not execute component to create context of state
I am new to qwick and at the moment I am trying to develop some type of ToDo list. For that, I want to create a state when the user opens the site which holds his ToDos. This state should be useable ...
0
votes
1
answer
19
views
How to make an input take focus in Qwik?
I'm using Qwik. I have a button. When I click it, an input is shown. How can I make the input take focus too?
const showInput = useSignal(false)
const handleClick = () => {
showInput.value = !...
0
votes
0
answers
33
views
How to loop over <Slot /> in Qwik?
I'm trying to loop over <Slot /> in Qwik Component but the problem it's only render the first item.
In Qwik docs: The Slot component can be used multiple times in the same component, as long as ...
1
vote
2
answers
88
views
How to draw the shortest path between circles
I am building a web app (in Qwik) that requires parsing a .xctsk file (paragliding competition tasks), and drawing the task on a map. A task consists of a bunch of circles in a given order.
I have ...
0
votes
0
answers
19
views
How to clear Type error in Qwik related to useContext and useStore
I'm working on converting a React application to the Qwik framework. I'd like to use context to share state with component children. The first property in the context object is a query string that is ...
0
votes
0
answers
55
views
Client (Qwik) sends session cookie but server (Nestjs) doesn't receive it. Why?
I have a flow set up so that my server sends a session cookie to the client, and in subsequent requests the client sends the cookie back to the server. I tried this on two browsers: Arc and Edge. Both ...
0
votes
0
answers
15
views
Inconsistent DOM class when changing class dynamically
I have this component which handles scroll by dragging:
import { useSignal } from '@builder.io/qwik';
import { $, component$, Slot, useStore } from '@builder.io/qwik';
export const ...
0
votes
0
answers
32
views
QwikCity: Pending actions update DOM of new route after navigation
I'm experiencing a strange behaviour in my QwikCity application where pending actions update the DOM of a new route after navigation, replacing the new route's contents with the contents of the ...
0
votes
1
answer
107
views
Issue with building forms in Astro Qwik integration (@qwikdev/astro)
I'm stucked at this part https://qwik.dev/docs/integrations/modular-forms/#final-form as I am not supposed to install qwik city when I'm using Astro Qwik integration (@qwikdev/astro)? So, I decided to ...
0
votes
0
answers
40
views
how deploy qwik js on shared hosting?
I cannot deploy Qwik js project on shared hosting, can you share how to resolve it?
Deploy qwik js on shared hosting. vercel or nelify deploy ok. but when I'll try to hosting in custom server i cant ...
0
votes
1
answer
129
views
Tailwind style not fully applied in dangerouslySetInnerHtml content
I have a HTML file with Tailwind styles that is saved in my database, so it should be fetched first which will have the result in a HTML string. It will be placed in dangerouslySetInnerHtml, the code ...
0
votes
0
answers
38
views
Can I pass some props to root.tsx in my Qwik application?
I'm using express to run my Qwik app. In entry.express.tsx file we have this line:
const { router, notFound } = createQwikCity({ render, qwikCityPlan, manifest });
And render is imported this way:
...