I was making google clone website with rapid api but I end with getting this error. I have two files. Under this having my .map function and I am accessing my s
Im trying to pass a state value into a component. Why is it working in one component and not working in another component in the same folder? I have the hooks i
I have custom created calendar using Flatlist. In the parent component I have a state with starting date and ending date and Press handler function to update st
I'm working on a project that is helping me to learn about JavaScript for an incoming internship that I have. In the constructURL function I'm using an if-else
I have a hook named useComments. When I hardcode, const { comments1 } = useComments(requests[l].id, true); const { comments2 } = useComments(requests[l].id, tru
In my React App I want to create a user with Firebase react hooks using createUserWithEmailAndPassword authentication but I get these errors. Error 1 POST http
I am trying to add styles to the inidividual elements. I want when an individual div( is clicked to make sure that the paragraph of the specific changes from d
I'm writing a website. It's a website that uses and fetches data from a stock API to displays stock prices and charts. I have a search bar which changes state w
Imagine situation: const [value, setValue] = useState(false); const setSomething = (val) => { setValue((prev) => { fn(); dispatch(action); // or an
I define column index parameter in my arrow function but I can use in my useEffect causes is not define! What can I do? useEffect(() => { const resizeOb
i'm using the following hook to handle "click away" feature to show/hide a dropdown: const useOutsideClick = (ref: NonNullable<RefObject<HTMLButtonElement
The backend calls to increment likes depicted by handleLike() and handleLike() functions successfully return the response of containing the number that's been i
This function is called up after pressing the button. Whenever the page is refreshed and the button is pressed, it is empty, the second click returns an array w
I have my custom axios hook, to send data without files it works perfectly, but when I send files it does not recognize any data. ...... const axiosFetch = asyn
Is there a way to make Alert on click not using the alert method but Alert tag. Currently I tried using usestate but didn’t work
I have observed a very strange behavior of React 18 compared to React 17 and I am wondering what I am doing wrong (since React 18 was not supposed to "break" ex
const [filter, setFilter] = useState([]); let brandList = []; const handleCheckBox = (e) => { const { value, checked } = e.target; if (checked) {
I am trying to show all the user's images on my react website. But I can only find the current user information using react-firebase-hooks/auth hooks. How can I
I'm trying to present 25 entries (name, company, skill, etc.) on the page and am having trouble getting the unique information. i.e. I only see the first entry
I need to run sounds automatically in React. In order to run sounds, I use a non-standard useSound hook. It creates a button and by clicking on this button the