Questions Tagged [Reactjs]

Questions Tagged [Reactjs]

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

394,938 questions
0 votes
0 answers
7 views

Property 'X' does not exist on type 'context | null'. ts(2339)

I can't figure this out. Why is TypeScript showing this error even though I have defined the type of the function in the type TasksContextType... Error: Property 'addTask' does not exist on type '...
0 votes
0 answers
5 views

Is it possible to read .vxs files in ReactJS?

I am working on a project that requires me to extract data from a .vxs file. I haven't been able to find anything online that can help me with this. Is it even possible? If yes, can you please point ...
0 votes
0 answers
5 views

How to use different manifest files for development and production Excel JS React?

I am trying to develop an office add-in and I succesfully deployed it to Azure. But for testing small iterations of my code I would like to use the localhost. So I would like to have a development ...
0 votes
0 answers
8 views

React Hook form in combination with Multer is an empty object

I currently have the following code in use in my application: <Button type={"button"} onClick={createFileUploadClick}>{t("uploadAnImage")}</Button> <Controller name=...
0 votes
0 answers
4 views

Is there an Alternative for ScrollIntoView

I have a component that show a conversation like in a chat application. When the page is loaded, the conversation container will scroll down to the last content first (just like we see in facebook ...
0 votes
0 answers
5 views

POST <input> file as binary/octet-stream Content-Type using Axios

My plan is to upload a file received from an input tag, to an S3 bucket. I need to manage a way to pass that file of type [Object file] into a supported type for the header of my API "Content-...
1 vote
3 answers
19 views

React - state contains array of objects. setState with conditional

I'm getting an error that 'exampleState' is not iterable, but why? Say that I have a state variable which holds a simple array of objects const [exampleState, setExampleState] = useState([ { ...
0 votes
1 answer
8 views

Add-in error Sorry. we can't load the add-in. Please make sure you have network and/or Internet connectivity. Click "Retry" once you're back online

I am developing an Excel JS TypeScript React addin with VS code. I deployed my add-in to Azure and it worked fine. Now I wanted to start a localhost for development purposes but all of a sudden I got ...
0 votes
0 answers
10 views

Link to another component using material UI link using React JS

I'm completely new to React and been trying a few hours now to link to another componenent that I've made. I have this log-in form that I want to link to my sign up page once a material ui link is ...
0 votes
0 answers
8 views

Tailwindcss not rendering in ExpressJS/React app

I am trying to add TailwindCSS to my existing Express JS + React application. I have tried many different tutorials, such as this one for regular JS, and this ...
0 votes
0 answers
7 views

when trying to access a site deployed on Netlify or vercel (404 not found or "Page Not Found")

this is my github repo : When I tried to upload at vercel website, I got 404 not found error.
1 vote
2 answers
21 views

React, localStorage is not persistent upon page refresh

I'm new to React and I can't understand what's wrong with my use of the useEffect hook. The code is compiled successfully and everything seems to work. The components added by the user are shown on ...
0 votes
0 answers
7 views

Table closing after populating data passed as props from a modal

I'm passing data from am AddItem modal in react to a table in the NewInvoice component. The data is being populated to the table successfully but modal does not close after clicking the save button. ...
0 votes
0 answers
15 views

State not causing render within a function

i'm trying to create a simple countdown app. when console logging the counter it runs as expect yet when trying to convert the counter to actual mins/hours/seconds it seems like it gets stuck at 09:59 ...
0 votes
0 answers
5 views

How do you use a variable with FontAwesome unicode as a placeholder in reacstrap 4 Input placeholder

I am currently using a reactstrap 4 Input component and everything looks great when I set the placeholder to a static string (Note: The FontAwesome font is loaded way higher in the app, and as you can ...

15 30 50 per page
1
2 3 4 5
…
26330
David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.