How do I access previous state inside the callback function in react? Because once I access data it is always returning an initial state version, since I use us
Here is the component to test, its a DatePicker component: import { useState } from 'react'; import { useFormContext } from '../Form'; import Textbox from '../T
I've been struggling with this now longer than I should and surprisingly, the existing questions (and there are many) don't really help further. My goal is to d
So I'm struggling to pass "polygonNFTs" to another file. I need to find its number to decide give user permission or not. its working in index but not in navbar
I'm aware of some of the conditional rendering methods for React components. Some of them can be found here. Using ternary operatiors, if...elses.... But I want
I am new to Docker and nginx and am in the process of setting up a reverse proxy with nginx for my react web application. I am using Docker to contain the appli
I'm trying to understand useCallback() a bit better by creating a simple React app and playing around with it. I tried wrapping handleClick function in useCallb
I'm pretty new to react-native. When I click the stop sleep or info button I send patch requests to the users.json file to change the status. My JSON file conta
A quick maybe simple question : We are trying to parse a string into number , the sample number is "1928433000460244141" so when we try to par
I have a products database structure as follows: Categories > Sub categories > Child categories > Products the respective table names in mySql database
I am testing my components using jest and enzyme. I want to load my component when the whole page is loaded so I am using load event inside useEffect, here is m
I know this questions it's kind of too open, but I'm need some guidelines in how to do something like this... That's a card 200x200 with that information. The
in below grid container , there is an image on the left , with a bunch of text on the right , there is a huge gap between the image and the text which tried to
When I run my jest tests, I got the following error , this particularly happens with the redux connected components and forwardRef:true is one parameters of the
I'm not able to display my menus (_ids.name) that match my filters from the 2 dropdowns (MyNorm1,...MyNorm6) and (Classification1,...Classification6). For examp
I'm looking for a simple Javascript Library (SVG) for the ReactJs module that allows me to draw family tree relationships. I've already referred GoJs Genogram.
I have make a slider using carousel at Trip.js and in Home.Js I have created a review section by my self using useEffect and Everytime the slide changes it retu
I am trying to create a small chat app using SignalR. In my backend I am using .net Core 5 and in Frontend, I am using React. When running in localhost every th
I have an application where I show a set of invites, each invite has a set of answers connected, that the users can update, I have the following recoil state: e
1.I'm building a react project and try to use Babel to simplified the import. Here is the code for babel.config.js file. module.exports = { presets: ['modul