Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

I have a monorepo with two packages a TypeScript shared library, ESM (shared-library) a TypeScript Next.js app, ESM (my-website) The Next.js app imports code from the shared library. Everything ...
Benny Neugebauer's user avatar
0 votes
1 answer
33 views

I have a restaurant ordering app where I'm displaying order items. Currently, I have repetitive code for each menu item (pizza, hamburger, beer). Current code (simplified): function displayOrder(...
Abbos Soatmurodov's user avatar
0 votes
0 answers
23 views

I’m comparing two very large JavaScript files generated by MicroStrategy ( unminified versions from 11.4.3 and 11.5). Both files are 9–10 MB and contain long, auto-generated JS blocks. When I use ...
Akanksha Bokare's user avatar
0 votes
0 answers
24 views

Why does a React component rerender only when a CSS variable is updated via JavaScript, but not when updated via a parent React state?
Chandru R's user avatar
-3 votes
0 answers
41 views

I have a layout where: Top section contains a job card Below it, the page is split into two columns Left column has long job list content (taller) Right column has employer details (shorter) I ...
John Son's user avatar
Advice
0 votes
2 replies
41 views

Title React Router navigate does not work with external URLs Body I am working on a project where clicking a lecture card should redirect the user to an external website such as Udemy or Inflearn. At ...
jung예은's user avatar
-3 votes
0 answers
25 views

I have several hundred jpg files on my club's website with different resolutions and I'm trying to write some JavaScript to list them. I think I have a problem with disposing of or waiting for the ...
user3495258's user avatar
-3 votes
1 answer
66 views

I'm refactoring my website right now, and I'm new to Next.js. All the tutorials I've found online have been super helpful, but something I still don't get is how to set the class name of a div in A....
DottoraQN's user avatar
0 votes
0 answers
40 views

I'm working on a Next.js (App Router) project and my API route is not being picked up at all. Every time I send a POST request from the client, I get a 404 Not Found. The route I'm trying to hit is: /...
Kavya Vaishnav's user avatar
1 vote
1 answer
30 views

I am trying to cache the response of a query inside a server action file: export async function getCachedSession(userCacheToken: string, token: string) { "use cache"; cacheTag(`user-session:...
Syntaxis's user avatar
4 votes
1 answer
56 views

I'm making a game and am using WebAudio API for audio. I want to play a given sound exactly n times, with a different pitch than normal. As long as I don't change the pitch, i.e. keep playbackRate = 1....
QuentinC's user avatar
  • 15.5k
-1 votes
1 answer
42 views

I can get Express to serve plaintext pages, but I'm trying to get it to serve HTML All I get in the web browser is "Cannot GET /concerts" import express from 'express' import join from "...
max2015's user avatar
  • 129
Advice
0 votes
1 replies
29 views

I'm working with Angular 21 and I've added an interceptor like this: export const httpErrorInterceptor: HttpInterceptorFn = (req, next) => { return next(req).pipe( catchError((error: ...
KrzysiekYESS's user avatar
Advice
0 votes
0 replies
23 views

I have been trying to find a video or explanation on how to use contentFor(). I already read the documentation, but it is still not working. A view: tyler <%- contentFor('foo') %> club <%- ...
Keivin's user avatar
  • 1
0 votes
0 answers
62 views

In a NextJS16+ app using app router, assume the following server component: const getData() = async () => { "use cache"; cacheTag("data"); return databaseCall(); }; const ...
ojathelonius's user avatar

15 30 50 per page
1
2 3 4 5
168447