Category "reactjs"

yarn error building graylog plugin with mvn package: The "path" argument must be of type string. Received type undefined

I'm following the graylog [doc][1] for building plugins, but i'm getting a yarn error when executing "mvn package" inside the plugin directory. [INFO] --- front

How to make background-image responsive in Material UI

I'm trying to fix a problem with my background-image when I resize the browser. I have the background-image height on my application set to '100vh' which fills

metaplex and solana web3 dependency conflict (react.js)

I am developing a react app and I have code from 2 different applications I wrote Application A uses metaplex to find all the NFT's owned by a user (wallet addr

single glob pattern to target all .test/.spec files TSConfig

I would like to exclude all test files in tsconfig.js. Files that should be excluded *.test.ts *.test.tsx *.test.jsx *.test.js *.spec.ts *.spec.tsx *.spec.jsx *

Deploy react on an esp32 with 32 character file name limit

I would like to deploy a react application on a web server on an esp32 micro controller, to control an api on that same micro controller. The web server is work

Nav-Hash-Link always Active when the route is /home/#sampleproducts& /home/#dashboard [closed]

I want to add an active link using Nav-hash-link. But it's active always when I add the route like /home/#sampleproducts& /home/#dashboard

create-react-app : npm ERR! notarget No matching version found for [email protected]

I'm trying to create a new react project with create-react-app as usual : npx create-react-app . But I'm getting an error : npm ERR! code ETARGET npm ERR! nota

Send a value via EmailJs without using a form

I want to send an EmailJs with two parameters, the email that comes from the form, and the let toysList, that comes from the localStorage(and converted into a s

Webstorm doesn't recognize next js

I'm creating a next JS app using this command npx create-next-app my-app --use-npm And everything is installed successfully, but in WebStorm for example when I

Importing SVG as React component not working with Next.js

I created a project with create-react-app using Typescript and latter I was asked to add next.js to it, what happend was that it broked some svgs across the app

Downloading a file using React and Typescript

I am trying to build a single page app using React. I came up with this hacky way to download a local file (residing in the public directory). I have two questi

React Native conditional render ImageBackground picture

I am trying to set my image based on if my prop is not null. If my prop is not null I need to show image from a web link. If the prop is null then I need to sho

React 16 warning "warning.js:36 Warning: Did not expect server HTML to contain a <div> in <div>."

I'm using the React 16 beta (react-fiber) with server side rendering What I am to understand this to mean? warning.js:36 Warning: Did not expect server HTML t

Socket.io + React: Different classes -> use same socket?

This is hopefully my best take at describing and simplifying my problem: I have my main class for my react app called App in App.js (I use [...] as Placeholder

Uncaught TypeError: inputArgs[0].match is not a function

I am starting to learn to react with REST Countries API. I have to face the error "Uncaught TypeError: inputArgs[0].match is not a function" in console. also, c

Powerapps code components with react and web3

I am doing a very simple powerapps code component project using react and web3. As soon as I build the project, I get a bunch of errors. Many of them I managed

Some component props reset after drop in react-dnd

I'm building a meme generator app. Here is my main component const [inputText, setInputText] = useState<InputText[]>([ { text: "", top: 30, left: 30

"'React' was used before it was defined." eslint warning

Similar question to this post on StackOverflow but I cannot seem to get rid of this warning after trying everything I could find on the internet. Github Issue.

Why is request.user is anonymous in Django RedirectView?

There are a lot of questions similar to this one, but none quite capture the situation I am in. I am coding a Django/ React app and I have integrated with Spoti

Material styling not loading in production build

I'm currently working on a project with Nextjs and Material UI. Everything works great in development mode. When I build the project, the first page loads just