Skip to main content

Questions tagged [reactjs]

React is a JavaScript library for building user interfaces. It uses a declarative, component-based paradigm and aims to be efficient and flexible.

reactjs
0 votes
0 answers
6 views

How to clear the cache of a query in RTKQuery

I'm currently in a situation where I'm questioning the best way to handle this situation with RTKQuery: I have a table that displays a set of data. In this table, you have the possibility to select a ...
Fabrizio Paolo Petrelli's user avatar
0 votes
0 answers
14 views

React: Using custom routes

I have inherited a project where i might have a URL that looks like this: http://localhost:8080/somepath/#react:prt1/prt2?param1=77 In the original code everything after the #react: string is parsed ...
Henrik Clausen's user avatar
0 votes
0 answers
4 views

how change attributes using svg-react library

convert svg to react component using svg-react library in cli use command: npx @svgr/cli --out-dir src/assets/icons/components --typescript --icon --memo --ref --jsx-runtime automatic --replace-attr-...
Lelik's user avatar
  • 29
0 votes
0 answers
14 views

How do I make an axios request to a backend API in a React/Vite application?

I am using Nginx to serve static files generated from a React/Vite codebase. These static files are served on port 80. (Or 443 if using https.) What I don't fully understand is how to make requests to ...
FreelanceConsultant's user avatar
0 votes
0 answers
7 views

Formik: Nested Object Update - Updating Field Within Nested Object Instead of Creating Separate Objects

In a React application using Formik, I have a nested object structure representing hardware parts within a form. export const formValues = { client: { firstName: '', lastName: '', email: ...
Steve Gaita's user avatar
0 votes
1 answer
7 views

How to upload a complete folder instead on files on my Next app?

I am creating a next app I am able to upload files using fileAPI , but I want to upload a folder and write a logic so that all the files (.text,.img,.pdf) inside the folder can be extracted can be ...
Aditya Sharma's user avatar
0 votes
0 answers
9 views

Customize board into 16x8 in chess using package chess.js or react-chessboard

I made a chess game, then I wanted to change the rules in it such as making the board bigger with a size of 16x8 and also changing the turn base system to a cooldown system I was trying to customize ...
Alan Ari's user avatar
-1 votes
0 answers
9 views

how to fix error cb() never called! using npm install?

i want to install packages using npm install and this error returns to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual ...
Mohammad Nadr's user avatar
0 votes
0 answers
12 views

Setting Cookie No Longer Working After Deploy

After deploying both my backend written in Go (using railway) and frontend written using React (using Vercel) setting cookies no longer seems to work. This wasn't a problem when working with both of ...
cookiesarenotforme's user avatar
0 votes
0 answers
8 views

Inertia JS Link component and Naver in-app browser misbehavior

Open the search bar in the Naver app (iOS), enter 'inertia js,' and navigate to its home page. Navigate to several different pages on the home page and click back button. Problem: Clicking the back ...
roku1331's user avatar
0 votes
0 answers
6 views

Maximum update depth exceeded warning in React

I want to add pinnablecolumns feature for MUI datagrid myself. I wrote the following component for this, but as soon as I call it, I get the error in the title. I completely removed the scroll ...
Mustafa ULUKAYA's user avatar
0 votes
1 answer
19 views

Form Submit Event is not being trigged from Button with type Submit inside Form

I'm encountering an issue with a custom LoadingButton component in my React TypeScript project using the Material-UI (MUI) library. The problem arises when I use this LoadingButton within a form that ...
K Bariya's user avatar
0 votes
1 answer
15 views

How do I retrieve data from firestore

I am trying to create a chat app using react vite and firebase, i am using firestore to store and retrieve chats, i imported getFirestore from firebase/firestore, and passed it to the "db" ...
Kevin Anthony's user avatar
-4 votes
0 answers
27 views

Frontend and backend are in the same container but the frontend cannot talk to the backend [closed]

I have one single container that runs a JS React frontend and a Rust Actix-Web backend. For shipping a locally ran project, I want the two to be in a single container rather than two separate ones. ...
Xinyu Bao's user avatar
-1 votes
1 answer
20 views

Hamburger menu working locally but not when deployed on heroku

I am new to react I build a frontend using react and backend server is Flask. I build a cropper website for a particular type of pdf with fix coordinates. the issue is when I tested my website locally ...
Ashmit Sharma's user avatar

15 30 50 per page
1
2 3 4 5
10