478,466 questions
0votes
0answers
11views
React Js in Laravel 11 in the ngnix server
I created React js and run the code in the Laravel Interia When I call link, it shows error like "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" ...
0votes
0answers
27views
How can properly positioning the tick on the svg gauge? [closed]
I created a svg gauge react component, the link can be found at codes. I'm looking for to display the ticks properly on the curve. But , as it is shown in the code, the ticks are not displayed ...
0votes
0answers
6views
CheckboxGroupInput on react-admin does not support initial values
I have this page: import { Edit, SimpleForm, TextInput, BooleanInput, CheckboxGroupInput, useDataProvider, useNotify } from "react-admin"; import {useEffect, useState} from "...
0votes
1answer
16views
React + Express: Navbar not updating after login/logout without refresh
I'm building a web app with React (frontend on Netlify) and Express.js (backend on Vercel). Sessions are stored in PostgreSQL using express-session and connect-pg-simple. I check authentication status ...
0votes
0answers
20views
websocket connection is getting lost with no response in the UI
Flask @socketio.on('connect') def handle_connect(arg): logger.info("Client connected via WebSocket") socketio.emit('engine_status_update', {"message": "Connected to ...
0votes
0answers
13views
Keycloak custom login and password system fails
I'm trying to make a page to let my user reset his password. I used the following code: const handleLoginSubmit = async (e) => { e.preventDefault(); setLoading(true); ...
-2votes
1answer
21views
Configuring nginx for React and Node
I am trying to configure nginx for my application setup. I have a React app, and it talks to a Node backend, running at localhost:3000. In nginx.conf: server { listen 80; server_name ...
0votes
0answers
14views
Filter/Search on expand table in ant design
I am creating a meeting schedule and I am using react TS+Vite and ant design. Before filling the table, I preprocess the data (group by date). I use antd's expand table, when I do nothing, everything ...
0votes
0answers
4views
Vite Unit Testing Warning After Upgrading @mui/x-data-grid to v8.1.0 – [mui-x-telemetry] Module Not Found
After upgrading @mui/x-data-grid to v8.1.0, I'm encountering a warning in my Vite + Vitest unit tests: [mui-x-telemetry] error Error: Cannot find module 'D:\frontend\node_modules\@mui\x-telemetry\esm\...
1vote
2answers
40views
How to close dialog in React?
I have a general DialogueWindow component: function DialogueWindow({elements}) { return ( <div className="backdrop"> <dialog className="dialogue-window"> ...
0votes
0answers
15views
Next.js multi-zones assets is not working
I want to build nextjs app that gonna be served like a SaaS, so i have a main team that gonna develop this apps, and another division team that gonna join development with us, My project structure ...
-1votes
0answers
13views
When navigating to a new page in React.js by clicking a footer links, the page does not automatically scroll to the top [duplicate]
When I click on links located in the footer to navigate to another page, the navigation works fine, but the new page loads and shows the bottom section instead of scrolling to the top automatically. I ...
-4votes
0answers
31views
Yet another "React app won't render" question [closed]
Read through several past questions, including this, but a React app, built via npm run build (webpack), is not rendering. The bundle.js is in the same root directory on the server. I added the js to ...
0votes
0answers
18views
Font loaders must be called and assigned to a const in the module scope
I am having a number of localFonts created using next/font/local library. I want to export all these localfont object . So to avoid so many exports I am trying to creat a single javascript object with ...
0votes
1answer
27views
PayPal JavaScript SDK: Unable to Display "PP" Logo on Checkout Button
I'm integrating the PayPal JavaScript SDK into my React + TypeScript application using the @paypal/react-paypal-js package. My goal is to display the PayPal button with the "PP" logo, as ...