Category "reactjs"

react conflit package.json

ERROR in Plugin "react" was conflicted between "package.json » eslint-config-react-app » D:\Projets\Roster's\Client\node_modules\eslint-config-reac

React Module Parse Failed – react-map-gl

I am currently trying to make a typescript app on expo using the react-map-gl package. I currently am trying to load the basic example code snippet they have. I

Material UI Dialog not working in production - shows a blank page

I've installed serve and have run npm run build. When I start the application everything's working except the dialogs i.e. when I open them I get a blank white

Access-Control-Allow-Origin is added to the header when request is made from Python(Google Colab), but not when the request is made from ReactJS

My app is structured as follows: React frontend -> Azure Api Management -> Flask backend. The Flask app allows all origins. app = Flask(__name__) CORS(app

Default props in theme configuration seems not to work

it's the first time I'm using Material UI and I'm having some problems using createTheme. My goal is to remove the horizontal padding for each Container so I de

Spring boot doesn't recognise react fetch body

Spring boot is not getting the params in the request body. The controller is defined like: @PostMapping("/login") public @ResponseBody User login(@Reque

how to rename file name Export csv and Excel from "excel" to something else for UnderscoreGrid

how to rename file name Export csv and Excel from "excel" to something else for UnderscoreGrid There is a right click export to excel or CSV and I cannot specif

Can a useMemo memoized value be updated with useEffect from within the component?

I'm trying to render data that must be passed through useMemo. I get the data from an api call so I call useEffect. The initial render works returning an empty

Update user in database on success from Stripe prebuilt checkout

I am using Stripe's prebuilt checkout with react and firebase. The checkout process works fine and directs the user to the succes_url, but I would like to updat

What is the best way to include this within a React application? #731

I'd considering SVGEdit (https://github.com/SVG-Edit/svgedit) within a larger React context, what would be the best way to include it for development? At first,

Why do MUI Linear Progress doesn't accept absolute positioning?

My MUI Linear Progress bar disappears when I set absolute positioning to it export default function LinearDeterminate() { const [ progress, setProgress ] =

React - Uncaught SyntaxError: Identifier 'WBSAutoFillFormTypeUndetermined' has already been declared

getting this console error in React dev environment... I see some similar questions but I am not seeing a question with this exact same message. trying to pinp

Cannot rotate mesh in React Three Fiber

I have a Plane mesh, and I want to have it initialised with an initial rotation vector. However, setting the rotateX prop does not work. <mesh rotateX={1}>

How can I get all the object inside an object which is present inside an array and add the result into another array

I am struggling with an issue that is bugging me a lot. I am not good with JSON data manipulation. So the issue is I have an Array of multiple Object which cont

Typescript inference for unions not picking up the correct type

Apologies for the vagueness, but I can't use the original files for security. I have four types: types.js export type BaseType = { requestType: string; oth

How do i get the values of object in arrays react js

Object { rows: (1) […], count: 3 } ​ My api is giving me this count: 3 ​rows: Array [ {…} ] ​​0: Object { ELIGIBILITATE: "

Testing react component that uses Context - change state of component under test

I want to test the following React component import React, { useContext, useState } from "react"; import { IntlProvider } from "react-intl"; export const Conte

Self Hosted Font in material-ui theme component library not working

I'm building a component library to sit alongside some react apps within a monorepo, library is currently being consumed by app1 and displaying components expor

ui-kitten for react native web

I have successfully implement the react native web support in react native project. And i have install the @ui-kitten/ library. but when i run in the web it giv

SCSS variable export not imported in React

After a general package upgrade on my React project, SCSS variable imports in JavaScript stopped working. Imports themselves are still working, but variables ex