I am trying to use my svg images with a sprite file. Importing sprite file in relevant component and using custom Svg component to render images with symbol id'
Not sure what is the matter here, but I am trying to follow this documentation: https://swr.vercel.app/ with this setup of my own: import React, { useEffect } f
I have a react js application. I want to add some http headers in the every response that's being returned from the app. Could you please suggest how to impleme
I have a development environment file .env.development and a production .env file for my React web app. The .env.development has a value REACT_APP_NAME=My Test
After performing npm run build on my app, I am not able to make requests to my PHP backend at port 8000. It works when I am running it via npm start, but it sud
I'm trying to pass routes to my Next.js app but it's returning an error, I've looked everywhere but I can't find the answer. _App.tsx import Routes from './
Consider the following call to React.createElement: React.createElement('span', null, null, ['><',]) This will cause React to escape > a
I am trying to create a new react native project which should utilize an older version of react-native. The result I would like would be to do something like:
How to show base64 image with ImageField of react-admin? I used following code but it is not work: import * as React from "react"; import { List, Datagrid, Text
I am trying to run tests using Jest, however I am getting this error: jest.mock is not a function What am I doing wrong? Here's my CodeSandbox: https://co
I'm developing a web application using reactjs nodejs and mysql database. I want to list the data created in a table i created in the database in the browser
I have an onClick in map function, if I click onClick it will change state of all map item not that item which I clicked. I am using useState hook. const [open,
Go to the end of this question for the solution that worked for me! i'm currently making my own chess game and i want to check if a position already occurred 3
How can I add a trailing comma after every element of an array for making a list like: INV, INV, INV, INV Note that the last element doesn't have a trailing c
My React calendar app works well on a local development build but it gives many allocation failures when it's deployed to Heroku. Here is the error from the Her
So I figured out how to setup a middleware to handle my auth tokens, as well as getting new ones, if need be. The problem is that, there is an edge case here wh
I'm trying to install dependencies in my project but when I run yarn install I get the following error [2/5] 🔍 Resolving packages... info There appears
I'm new to Recoil.js, I have the following atom and selector for the signed-in user in the app: const signedInUserAtom = atom<SignedInUser | null>({ k
my company wants to create a react component which is going to render a google maps frame, a search field and a result list. Basically to search, see results an
I am getting this warning: Warning: The `value` prop supplied to <select> must be a scalar value if `multiple` is false. Check the render method of `Cont