Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-4 votes
0 answers
20 views

Cuanto tiempo tardaria un Ecomerse un dev junior [closed]

I don't know much about development, but I wonder how long it would take a junior dev to create an ecomerse with react and next js, on a small scale, like for a local department store. Thank you very ...
Daniel Galicia Santos's user avatar
0 votes
0 answers
28 views

Can't fetch an array from an api on typescript

For some reason, I try to fetch the complete array of an api but it just doesn't do anything, nothing is changed on the variable that the value SHOULD be going to. OBS:I'm using Shadcn/ui library and ...
HenryByte's user avatar
0 votes
1 answer
65 views

React Nodes and JSX Elements as const in Parent Component?

If we have a lot of JSX code in our component, is it okay to assign some of it to a const, or should we always create new components and reuse them? I will post here some trivial examples. Example 1, ...
Coman Vladut's user avatar
0 votes
0 answers
63 views

backend not responding with domain but responding with ip

I have setup 2 different servers for frontend and backend. frontend server is accessible with ip and the domain both. all api requests are being processed by backend long as it comes from the ip. but ...
dhrumil barot's user avatar
1 vote
0 answers
40 views

how to fix the localhost problem if im using react on vscode?

im running react on vscode and the local host is always refusing to connect, ive tried every possible solution, but this specifiv error: error:0308010C:digital envelope routines::unsupported it ...
Yaman's user avatar
  • 11
0 votes
1 answer
54 views

how to deploy app if i dont have nodejs in root folder

Im going to deploy my first project to see how it works, but everywhere and everyone use npm run build from root package.json. I have set backend and frontend separate in root folder. What should i do ...
Tyubit's user avatar
  • 27
0 votes
1 answer
61 views

Tailwindcss classes not working with React(Vite)

So, I use Vite for the CLI and Tailwindcss for the styling. This weird problem, when the tailwind transpiler just stopped transpiling but without the process stopping too. I usually can ignore these ...
Keys's user avatar
  • 13
0 votes
0 answers
44 views

React Razorpay import gives error how to fix it

i added npm install razorpay `import React from 'react' import Razorpay from 'razorpay' function Home() {return ()} export default Home ` which gives Module not found: Error: Can't resolve 'assert' in ...
Dev Tiwari's user avatar
1 vote
2 answers
2k views

In Next.js App router should the page.js be a server component?

In Next.js 13 and above (App router) should the page.js of all the routes/folders be a server component ? I mean is it the standard practice. I know that it can be a client component using use client ...
Abhith's user avatar
  • 439
0 votes
0 answers
108 views

react error All imports in import declaration are unused

please can I get some help with this code I do not understand why it is not using the imported elements. The error I am getting is All imports in import declaration are unused. I understand what this ...
felix chombe's user avatar
0 votes
0 answers
32 views

How to generate a React executable

I had this idea of creating a "website" which could only be accessible locally (localhost...). I am using React to create the website. Here are my questions : I would like my app to have it'...
PandaaaPlays's user avatar
0 votes
0 answers
18 views

HTML code wouldnt scroll all the way up and will not run in localhost

im a newbie in html and css. im trying to make a website with a form but i have two problems: My page wouldnt scroll all the way up. It wouldnt launch on browser ps: any tips to make my code cleaner ...
djon3rcod3r's user avatar
0 votes
0 answers
33 views

add items to a queue and process one by one using setInterval

I'm attempting to have the ability to add items (one by one) to a queue, and process an item one at a time (say every N seconds). The below code seems to add the numbers to the queue, however, reading ...
noi.m's user avatar
  • 3,122
0 votes
0 answers
319 views

Why is my NextJS app with Next Intl redirecting to localhost when deployed?

I am using Next Intl for localization on my app (Next 14.0.4, app router). Next Intl requires the use of a middleware such as this one: import createMiddleware from 'next-intl/middleware'; export ...
codigopablo's user avatar
0 votes
0 answers
52 views

Firebase Authentication using Phone - Recaptcha Verification - React JS - Uncaught runtime errors - Web

I'm using Phone option of Firebase auth service. It requires recaptcha. I'm using invisible recaptcha. But facing some issue in it. When the recaptcha gets generated, after some time, it throws "...
Muhammad Mansha's user avatar

15 30 50 per page
1
2 3 4 5
97