Category "reactjs"

npm start run problem with react-app-rewire

I am trying to use mobx in a reactjs project. I have installed these packages using yarn add command: yarn add mobx mobx-react react-app-rewired react-app-rewi

Append a button at the end of Autocomplete options in Material-UI

I am trying to create an autocomplete component that a person will use to select an item from a list of items, I've done that, no issues. The problem is thatI a

Antd, How can I disable row of editable cell of Table

I use Editable Cell of Table I want to disable row when age value is '33' include select(=checkbox) There is sandbox test code help me test code

why react-helmet-async is not working in app?

In my react application, when I am using Helmet to show the title of the browser dynamically, the page in which I am using the CODE Like - **<Helmet>

Dynamically set background color based on value from DB

The db stores hex values which will then be used to set the background color of the div. How can I pass the value which is coming through from the DB to the css

React.JS App MODULE_NOT_FOUND error on 'npm start'

I have a problem with React.js. After creating a react application, when I run the command npm start I have the following error: PS G:\workspace\WEB\gab-web\cli

Unable to pass json reference data to react component

I am trying to load dynamic content to a child component. I am able to render everything except for an img reference. I have tried changing the reference locati

Getting "app is not defined" error after applying "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." error fix

At first I was getting the "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app)." error. I saw online that wrapping firebase initializat

The token '&&' is not a valid statement separator in this version

On the way of installing Webpack on my React Project, the following problem hinders my progress: last step to configure the Webpack npm run build && nod

Best way to save a secretKey

I'm learning Solana API on ReactJS. After generating a keypair you can recreate the same keypair with the secretKey. How can I save this keypair? I'm using reac

How to highlight matches within a string with JSX?

I have a custom autocomplete, so when you type, it will display a list of suggestions based on the input value. In the list, I would like to bold the character

electron-forge with two windows : how to render the second window? electron-react app

I realized that the second electron browser window, does actually opens, but it doesn't render correctly. In /tools/forge/forge.config.js I have two entryPoints

How to use div like link to redirect to another page?

I need to make div which will act simulate to Link element, so when you click on it you navigate to another page. Something like this <Link to="/employees"&g

Full height & width without scrollbar in Material UI React app

I am trying to render a page for full height. But it adds a scrollbar which is undesirable. With 100% height, I mean just the size of the screen. Here is the d

ReactJs: grouping data based on job title

As it is clear in the picture, I have works, and each job has a level(junior, senior, mid-level) and amount, and as it is clear in the picture, I have a "Team

How to render global styles from styled-components in Storybook?

Cannot render storybook application when trying to add global styles to the config file. It was working before and when I tried to add the knobs addons it brok

this.setState is not working when using firebase database

I am using the state to get value from the firebase database but I think there is some problem while doing it. const dbRef=firebase.database().ref().child('pro

Manifest: Line: 1, column: 1, Syntax error on Chrome browser

I have a react app that built through npm run build. GET and POST request from the front-end to back-end gives status 200 but I am getting a weird error that ma

Github pages shows blank page

My repo: https://github.com/jmrocco/personal_website My website: https://julietterocco.com/ I can not figure out why my GitHub pages can’t load any of my

How create a react app with a specific version using the npx command?

I want to create a React app using the command npx create-react-app my-app But I want to make sure I can choose the React version. I want a version that can't