I have a small problem with act() error in react-testing-library. In useEffect I try to call an function that is a promise. Promise returns some data and displa
I am trying to publish a serverless web to vercel. I want to use react-router and this works good on my computer but when I deploy it It doesn't works Can someb
I am getting these lint errors ./components/create-nft/InstagramSelector.js 39:15 Warning: Effect callbacks are synchronous to prevent race conditions. Put the
I am using MUI v5 in my application along with react-d3-tree which renders SVG tree charts. It offers an API to include custom CSS class names in the <path&g
C:\Users\JohnSam\Desktop\React\smartapp>npm install --save react-tilt npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm
How to use react-dropzone with react-hook-form so that the form returns proper file - not just file name?
While attempting to install create-react-app I'm getting the below ERR_SOCKET_TIMEOUT error. Creating a new React app in E:\New folder\my-app. Installing packa
thx for any help. How can I pass down setState to a child component and use the c argument without a typescript error? Parent: Passing down setState export inte
I installed react-router-dom v6 and I want to use a class based component, in previous version of react-router-dom v5 this.props.history() worked for redirect p
I'm building a multi tab chat like UI using react and antd, it looks like image below. On the left side you can see multiple tabs showing last names using antd
I have an app in React Native that uses many context. I want to access one of them within a non rendering function e.g. : const DataContext = React.createContex
I'm developing a dashboard that will be embed in a Microsoft Teams Tab. Microsoft provides an UI toolkit: package and figma templates (source article). However,
I'm working on a weather app with ReactJS, what i'm trying to do is have a slideshow of images for my background, the images will be full screen, fading from on
I am currently creating an Electron app in which I would like to use react leaflet's maps functionality. This requires the use of external url's which throws CS
I'm using next.js 12 with a react app. I have the following .env.local file: NEXT_PUBLIC_DEVELOPMENT_ENV_VARIABLE="public_development_variable" I start the dev
PS C:\Users\sujee\Desktop\Next App\panda> yarn export yarn run v1.22.18 $ next build && next export info - Checking validity of types Failed to com
I have a rich text editor built using draftjs. I implemented the functions for changing the font size, font family, and color of the text in the editor. I also
I want to show index of rows in ant design table. eg: 1 to 10 for 10 rows data i got. const columns = [{ title: 'ID', dataIndex: 'id', key: 'id',
I want to create a React application and I want to use a typescript in this application, at first I went to the React website in order to create an application
I'm using the useQueryParams library, which takes a RouteAdapter, which is forwarded a Location, which can be sent to React Router to trigger a navigation. I wa