Category "reactjs"

Unable to resolve empty-module.js react-native and metro-cli

I've switched over from a windows dev environment to a linux environment and I'm having trouble getting react-native app going again. The application builds wit

How can I redirect the parent page after OAuth 2 flow is complete?

My current flow is such: User clicks login to third party Upon grant, the third party redirects to configured redirect uri with code Forward code to backend to

React hooks documentation generator

What is the best way to generate documentation for React hooks in .jsx and .tsx files? I tried TypeDoc, but I do not get any comments from function methods. c

MERN Application - Problem with notifications and mapping array

I'm on a MERN stack to create a chat application. And when I'm trying to display notifications when there is a new message in another chatroom or a new PM I'm h

BotFramework-WebChat - Adaptive Card

Is there a way to add Onchange event to the adaptive card input field that is rendered in webchat (version V4). Example changing a quantity value (Adaptive card

Firebase google signin authentication and popup is not working in React project

Actually I'm don't know a firebase just follow a react course and my instructor uses the same code but it's not working from my side... I have enabled google si

How do I add input data to JSON array in React.

I've been working on understanding React concepts and did my Todo project. I have the dummy data displaying, but can't add a new value to my dummy data, which i

MaterialUI Select set value is always out of range

i've a MaterialUI Select code, and i'm handling the value parameter dynamically. My problem is, when i set any value, it says always it's out of range, even sho

How to parse a json that returns an array of objects

I did some back-end changes to send 2 JSON from localhost:3001 It looks like this now: const response = await fetch(apiURL); // fetching the data from the a

Render docx in React js

I would like to properly render a docx file in React JS with the correct formatting, as it would appear in Word or a similar service. Currently, when displaying

Passing value of component in separate jsx file's value to event on Full-Calendar

I am new to React. I am trying to pass the value of a select box imported from a separate .jsx file to an event for full-calendar. I can't find anything on this

Consume Cloud Run environment variables inside Nextjs app

I've recently built a Nextjs app, which I am hosting on Google Cloud Run. My app makes some requests to external APIs from the getStaticProps() method. I would

Where do I get user and pass for email form api setup?

I am trying to get this form working in Nextjs using 'React Hook Form'. So far I think everything is okay, but I need to know where to get the 'user' and 'pass'

Error: Cannot find module 'html-webpack-plugin' - Webpack (React)

I tried to create a basic React app with webpack 4 following this link until installing "html-webpack-plugin", I did not face any errors. But, once I run the c

html Button on top of link

Hey I have a div which is wrapped by a Link component, and inside that div I have more buttons, but the problem is, when I click on the inner smaller buttons, I

Manipulating server side API with state value

So I built an app in React but later switched to Next.js as my api provider only accepted api calls in the server side, I had built a pagination in react very e

How to set a particles background on nextjs?

I would like to set a particles background only on one page of my web application. I used the following code: import styles from "../styles/Page.module.css"; im

React-table library- 'useTable' is not exported by node_modules/react-table/index.js

React version: 16.8.6 React-table version: 7.6.3 Hey. I am getting the next error only when trying to build my project. When running it locally, everything wor

Uncaught TypeError: Cannot assign to read only property 'checkGuess' of object '#<Object>'. how do I fix this?

Im trying to send the form input data to a different component and keep recieving the error 'Uncaught TypeError: Cannot assign to read only property 'checkGuess

Change Default Sort and Order for React Jhipster

I am using Jhipster 6.8.0 and trying to change default sorting (sort by : publishedDate and order : desc) based on the following code: const [paginationState,