In my input component I extract file content after input. Took code from here Error occurred on the line of onChange={e => handleFileChosen(e.targ ...
In my input component I extract file content after input. Took code from here Error occurred on the line of onChange={e => handleFileChosen(e.targ ...
I have RotatingButton which is turning and changing scale when clicked. (Rotating has to be slower so I used two motions and added duration to rotate ...
I am using react for the first time and since I've been assigned a task of converting an already existing ASP.NET MVC page to a react page which uses ...
I am using react and redux toolkit in a project. I also use firebase to manage authentication for this project. I'm dispatching an async thunk that I ...
I am trying to increase the value of one of Attribute's object properties (STR, AGI, INT, and CHA) whenever the "plus" button each one has is clicked. ...
i am using import { makeStyles } from '@mui/styles' This is my theme typography config enter image description here This is file, i want to combine t ...
enter image description here I want to create a textfield using react mui textfield. But when I add the multiline prop it gives two boxes with border ...
I'm trying to fetch data by a hook but I don't know why I have no TS error and when I'm launching the code I have a console error which says "Uncaught ...
Hi all i am getting a unique key prop warning here is my code i was tried some code but it doesn't working please help to solve this warning. thank ...
I'm trying to set a useState variable using an interface inside a createContext. The goal is fetch some data inside someArray and added into a useStat ...
I want to load data from server before a component is loaded. console.log(res.json()); is return a data from server correctly, but data varible in ...
I have an input component that can either render a textarea component (from a library) or a regular input. This is the component: In the case that ...
I have a component that has a loading state and I have isLoading prop that determines that component is loading or not: Basically, I want to make o ...
I'm trying to experiment custom Hooks with TS (quite new on both). This useOption should take etiher a number or a boolean, and return the value with ...
I have a ReactJS project where I wanted to use a Barcode-Scanner npm module with the name html5-qrcode, but I always get this error: Failed to parse ...
I have a div with Inline-Style <div className="HalfArc" style={{ "--percentage": "75%" }}> and this works fine in my ReactJS project. It also ...
I am writing a React functional component using typescript.To format the data before submitting it, I want to create a Form component that optionally ...
I am getting this error when trying to display comments of specific posts. Uncaught TypeError: Cannot read properties of undefined (reading 'from' ...
I'm trying to get only 2 items per row but I keep getting them all on the same row. I have tried etc. ...
actually i am trying to create a popup which allow user to see expanded view inside the popup when user click on expand view for the particular elemen ...