Category "reactjs"

Token not received after redirecting from login

I am trying to use AD FS as Identity provider with react-native-azure-auth library. It works fine with iOS, redirects and returns token back from the login scr

Token not received after redirecting from login

I am trying to use AD FS as Identity provider with react-native-azure-auth library. It works fine with iOS, redirects and returns token back from the login scr

Webpack Source Map Export Compiled JS

I was using webpack 3, there was no hot reload issue and then I upgraded to webpack 5. Webpack version: ^5.50.0, React version: 17.0.2 Webpack source map doesn'

Test react custom hook with mocking blob response

I have a created a hook as following: import { AxiosResponse } from 'axios'; import { DEFAULT_EXPORT_FILE_NAME } from 'constants'; import { useRef, useState } f

CypressError cy.visit() failed trying to load https://example.cypress.io/todo

i created cypress project for that i run npm init -y to generate package.json file then npm i cypress to create a cypress project. then opened it via npx cypres

UseEffect firing on initial render

I am creating a front end for an API that requires a user to input both an API key as well as a device name. The issue is that the UseEffect() fetch is firing w

Tag picker onChange event not firing

I'm trying to trigger an event when the user writes something in the input field of Fluent UI Tag Picker but it seems that it's not working for some reason. The

React JS App becomes blank white screen when deployed with AWS Amplify

I have a React JS app that works on local host, but when I deploy to AWS amplify displays as a blank white screen with no body. The browser tab shows the correc

Form elements do not have associated labels, but it is a MUI theme switch [closed]

I have a theme switch (light to dark) on my page, using Material UI switch. I get an error from lighthouse stating that it needs a label, but

Slick Slider React - How to keep the same width and space whatever the size screen?

I am creating a slider in react with Slick Slider. The problem is: when the screen size changes, the slides reduce in size or stack on top of each other. Slick

Style with text freezes Openlayers react / capacitor app on IOS after unlock (

I'm writing a cross-plattform react application with capacitor and facing freezes in the IOS application (IOS version 15.3.1 - also occured on lower versions) w

Creating Basic NFT Viewing App with ThirdWeb SDK

I'm looking to create a very basic app, where a user can connect their wallet, and display all NFTs they own from a specific collection. I am using the ThirdWeb

How do I list all data in react native firestore? [closed]

I want to see the posts made by all users. so i want to get all data regardless of user id function storePostData(){ firebase.firest

Error in React-Router: 'Type expected. TS1110' after deleting my node_modules folder and package-lock.json

My project was working perfectly well but I went and accidentally deleted my node_modules folder and package-lock.json and then reinstalled everything using npm

how to reset the phone number text field when you change the country code

in react phone input one property is there international that helps but in react phone input 2 this property is not working. In the react phone input 2 if you w

react-select in web-component | onChange Event

I need to use react-select in a shadow-root web-component like in this example. How can I pass the onChange event from the <Select>component in my react e

React Final Form - Double conditional Form

I have started to work on a form project using React final form, but I am struggling to do a two condition question. Would anyone knows how to do a double condi

Grouping elements in loop using React Native

I'm listing events with their start date+time. This works well, but I want to group the event by their dates as events happen on the same day. I want to do this

Invalid access token when using Auth0

I am making use of the Auth0 service for my user authentication, but I have been having issues whereby the client id keeps returning an invalid user token. The

How to generate ICS file for different calender's dynamically in reactJS

I have event data and I want user to be able to download ICS file and save it in calender of his choice This is the function I am using but the ics file generat