I was using qraphql (JavaScript graphql-request library) in a project and ran into a typeError. Here's the code: import { request, gql } from 'graphql-request'
My React app is working well when I call it typing directly in the browser, but when I call it from a link sent by email it shows a broken logo in the header. T
I'm trying to render images in react using require(). Below is a snapshot of the code that is working. const ProjectBlock: React.FC<{ data: PROJECTBLOCK }>
I have this code: const Test = styled.img` width: 48px; height: 48px; border-radius: 50%; box-shadow: 0px 0px 0px 1px rgba(27, 31, 36, 0.15); `;
I have the Nx workspace with React and Express apps created via the official React tutorial from Nx docs. Also, I have an independent CRA project that has just
After reading all the MDN docs on CORS, I am trying to fetch resources at a spring boot server at localhost:8080 from a ReactJS app at localhost:3000, yet i can
Hello my code is as follow wnna try suspense with react 18 but not having luck to render Loading.... User.jsx import React, { useEffect, useState } from "re
Hello i have a problem on string bignumber when transfering morthan 1000BUSD this is my transfer code,, i dont know what problem i hope someone help me thanks c
Whenever I try to pass or update the props value from parent to child I need to restart the webpack server everytime. I don't know why props value are not getti
I'm trying to get a legacy React Native project running, and removed react-native-sharing-winstagram with yarn remove react-native-sharing-winstagram. I get the
I have: const [list, setList] = useState([]); Somewhere in the component, I want to do: list[index][someKey] = some_updated_value; setList(list); Is this
I'm new to react I'm trying to figure out how I can make a Masonry image grid - mobile resonsive. The idea is that I want the images to stack on top of each oth
I got a nextjs app with a couple static pages in a bucket being hosted on cloudfront and I ran into an interesting error. The pages are in s3 but if I refresh o
How can I send data using post I got this router.push({ pathname: "/investigacion-detalle", query: { data: JSON.stringify(salida),},
I am trying to implement a simple input box where when I click on the box the placeholder value moves to the top but have an issue that it always shows on top.
I'm using Heroku free plan to host the blog section of a website in Ghost CMS and use Next.js for the front(netlify) to fetch the data from it. On first loading
My code: <Nav> { user?.uid ? <button onClick={() => handleSignout()}>Sign Out</button> : <Nav.Link as={Link
First is, I want to validate the field that if the user type a character that is not existing in this (e.g.): /[ùûüÿ€’“&
I'm building a next.js application and would like to load Google Tag Manager (GTM) only AFTER the entire page is loaded. The goal behind this is to improve the
my question is quite simple to explain. I've initialized a React project with ViteJS and then added aws-amplify for the backend. I developed the project and eve