Category "reactjs"

Property 'accessToken' does not exist on type 'User' && firebase is not defined

I am using TypeScript in my React application and I have an error "Property 'accessToken' does not exist on type 'User'" when getting an accessToken of user My

React draft wysiwyg default font size

Could I ask you how to change default font size in react draft wysiwyg https://github.com/jpuri/react-draft-wysiwyg#readme? Class defining toolbar: export const

React Card Example issue - Card is replaced instead of being appended to a list of cards in another column

I have been persistently working on this problem where the goal is to drag a card form 'Column 1' and copy that into another column say 'Column 2'. Now when my

React 18 Fragment complaining of too many children

A few days ago I tried to add Storybook to my React app, and basically everything imploded. I restored from a backup, but it didn't include the node_modules fol

React + gRPC don't reach envoy container

I was trying to build a very basic web page in React that would send gRPC request to a backend written in Rust. I followed these guides: https://daily.dev/blog/

ESLint: Plugin "react" was conflicted between

I have a React app inside a monolith npm component package. The React app serves as a demo site which consumes this component package as an integration step ove

Passing multiple params in react-router-dom like reactnavigation

Well, I'll get to the point with this, and I have a problem passing parameters to the browsing history For those with experience in reactnavication, you will kn

Issues while trying to pass data from one page to another using Link from React-Router v6

I have the following Router: // index.js import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import history from "./history";

trying to set value to context provider for a cypress test spec

the challenge am having is explained below Am trying to set a draft_id value after the submit-recipients data-testid is clicked. The beforementioned value is pa

MERN: show buttons based on conditional

I'm using React.JS and I'm trying to show a group of buttons based on the state of a variable, this is the code snippet: const cartContentButtons = ( <

Firebase working in cmd but not in git bash

I am building a react project on Visual Studio Code and want to use firebase but when I am giving the command firebase login, it says C:\Users\ajay\AppData\Roam

React Material UI Select conditional rendering shows value as out of range

The use case is creating an order that has multiple order lines. I have two lists of Products: Preferred and All. Every item in Preferred is in All. I have a bo

React checkbox data from mongodb

I try check if checkbox is checked in mongodb or not So for isClosed my value in db is true And its working so far my checkbox is checked bcs its true in db. Bu

How to use MUI to stack components on top of eachother?

I want a div that looks like this on Desktop: ------------------------------------------------------------------ | (icon) | (content)

Padding issue for xAxis in recharts

As i was working on recharts, i was trying to achieve below Below is my code: <ResponsiveContainer width="100%" height={400} className="area-chart">

How i can fix this Warning: validateDOMNesting(...): <h5> cannot appear as a descendant of <p>

react-dom.development.js:86 Warning: validateDOMNesting(...): cannot appear as a descendant of Hello, everyone. In my react page i have blogs component. when

React Select Overlaps With Label

I am using react-select ^5.1.0 and my options and values are displayed well. I have a small issue when scrolling the options, a select word overlapps the option

Cannot read property of undefined data() Firebase

I'm trying to implement redux saga in my old project and i get strange error. I'm getting back the userData with all user details but my middleware logger tells

How to filter array of nested objects with unknown depth based on given search term

There are similar answers here but all of the ones I've seen and tested don't go pass two levels deep, so I don't think this is a duplicate problem...I am tryin

bundle.js TypeError: Cannot read propertied of undefined (reading PriceIndexationDataControlStandard)

I am developing a React component via Microsoft PCF Framework and I have encountered a very strange error out of nowhere. I was changing only typescript, not ev