By default Vite generates files in the source directory under dist. my-app/ ├─ node_modules/ ├─ dist/ │ ├─ assets/ |
depending on the selection of my user Change the type or Choose the comments (he can select only one choice), there will be a different display, but my code dis
I wanted to apply a background image to the whole of my react app and give it an opacity. I used the following code to do so. .App::before{ content:""; ba
I am upgrading from v4 to v5 and having significant problems that are inconsistent. The <Button> component looks as it should on the Login page, but once
I had build an app using create-react-app. And our server is set up as such that all files except index.html are in a folder named static. <!DOCTYPE html>
I'm trying to build a generic tool for handling the response to React Query useQuery requests in my app, and build this out using TypeScript, so that the data i
I develop a React Native mobile app and for the backend I want to use Java Spring. Now I have a standalone backend server running locally on port 8080 and my re
I face a problem. my reactjs application has some card items and has some descriptions here. Here I want to make it a short description and a button, and when I
I am trying to display the content for each page using useParams , but it doesn't work. I will put some screenshots below with the components. Every single obje
import React, { useState, useEffect, useRef } from "react"; import ReactDOM from "react-dom"; import "./styles.css"; function App() { const [minus, setMinus
I am creating a React app which can be used to manage company events. There are two components related to events that aren't working at the moment. These are th
I'm trying to consume a function from a smart contract using ethers.js. The function retrieve the info of a user logged before (with the help of other function)
My GraphQL Query works just fine in Hasura Client but fails to work when I use the query in my React code using Apollo, I don't understand why because I am not
I npm installed everything, yet only web3 is not working? Is this a bug or is there an alternative to this solution? import React,{useEffect, useState}from 're
I am using vitejs to compile my react app statically, however after build .env imports become undefined which is not the case on development stage. reading the
A quick question regarding RxJS in useEffect hooks I've noticed the React community uses this unsubscribe pattern with RxJS: useEffect(()=>{ const sub = in
I'm trying to rotate material-ui icon using css property animation but not getting the desired result. Can somebody please help me identify what's going wrong h
I'm trying to create a Figure component in which I pass the img src along with other data. I realize it's not straightforward—e.g., this thread—but
I have a form made with React Bootstrap to semply submit a string that will be saved on a DB. It works and the submitted message is saved, but I don't know how
I'm trying to build my own component library specific to my React Native app using the Atomic Design Methodology, so I have small components like Paragraph, Tit