Category "reactjs"

415 unsupported media type error while trying to upload file from react to web api

I am new to react and web api and I am getting this unsupported media type error while trying to upload my file into my web api function Here is my react js co

Tailwind.css — How to implement the last-child using Tailwind?

I have tried without success to implement the prefix last: as shown in the Tailwind.css documentation. Can anyone point out what I am doing wrong? I cannot make

Getting 403 Access Denied Errors When Hosting a React Router App in AWS S3 and CloudFront

When I deployed a React Router app to AWS S3 and CloudFront and when I try to access React routes directly it gives the following error with 403 error code. I c

Getting 403 Access Denied Errors When Hosting a React Router App in AWS S3 and CloudFront

When I deployed a React Router app to AWS S3 and CloudFront and when I try to access React routes directly it gives the following error with 403 error code. I c

Type 'React.ReactNode' is not assignable to type 'import(".../@types/react-transition-group/node_modules/@types/react/index").ReactNode'

I've worked with React project, integrated with Circle CI and after some minor changes, it started to fail all builds with Its instance type 'ReactApexChart' is

Module not found: Error: Can't resolve 'querystring' in '/Users/apple/Documents/mern-instagram/instagram-clone/node_modules/react-instagram-embed/es'

After installing react-instagram-embed package I got this error and tried all possible solution but still not working!!! Anyone knows solution for this???

Integrating Scrapy into Django/React application

I'm trying to build a site with Django and React, where you can create watchlists with companies. If you view the watchlist, you'll be able to see the price of

How to pass data to MVC Controller using React.js?

I'm doing a project using React.js as Front End and Asp.net MVC as Back end Process. Now my query is i have to pass user input values to Controller Method. . I

Error overriding peer dependency - npm install reactstrap

"@popperjs/core": "^2.6.0", "@testing-/jest-dom": "^5.11.9", "@testing-/react": "^11.2.3", "@testing-/user-event": "^12.6.2", "bootstrap": "^4.6.0", "react": "^

Mui Autocomplete combined with a popper component is causing a major leak when deployed to Heroku?

I have the following code for a v4 mui autocomplete component, the issue with it, is that the custom popper component is casing a R14, H10 errors when deploying

Next.js - router.push without scrolling to the top

I am using router from next by importing useRouter from next/router. I am trying to find a solution which will not scroll to the top of the page when I change t

_enzymeAdapterReact.default is not a constructor when test jest

I'm having this issue when test react-native component with jest and enzyme TypeError: _enzymeAdapterReact.default is not a constructor Here is my dev dependen

How to connect Metamask based on the input wallet adress

When I type a wallet address and press the Save button I want to show a Metamask sign in popup to that wallet. for now, It's just randomly connects with the sel

ID is gone when I refresh a NextJS Dynamic Route page

I am trying to get dynamic routing working in order to display and retrieve the right information using the id from the url. This works when I visit the page, b

Next.js: How to get static assets from within getStaticProps

I am using Netlify CMS. I want to import all the slides for a carousel into my component. I made a collection called slider and added a few slides. That created

Don't include polyfill to React JS with Slack Bolt

I have a really simple ReactJS code that use the Slack Bolt package. When I run npm run start I have three errors : Module not found: Error: Can't resolve 'os'

Why are the args for my storybook component showing as optional instead of required?

I have a simple loader component import React from "react"; import { Backdrop, CircularProgress } from "@material-ui/core"; import { makeStyles } from "@mat

CORS Problem with React js on my PHP from the scratch API

Hello Guys I have a problem on my PHP API i uploaded my API on this website "app.infinityfree.net" whenever I try to access my build in PHP API I get this error

MY React Web Page Does not work in an iframe

I've build a web app on react and used react hooks for my forms. However it is not working when the web application is embedded within another application. The

React Context API - dispatch is not a function

Implementing a Log in system with React Context API. When submitted the form with user credentials, getting an error. Error: Unhandled Rejection (TypeError): di