I am using Expo with react native and just have a plain view with some things inside of it. When I run the code as an expo app on my iPhone the view does not sc
I have created this app with npx create-react-app. After this i have deleted all the files except index.js in src folder. Then Hot reload is not working. I have
I have a project on Next.js framework and the problem is that First Load JS shared by all pages is rather heavy. I want to know what possible aspects I can tak
I'm developing mern stack web application with react from vite.js and have a problem to deal with proxy. my client side runs at http://localhost:3000 and server
I just cloned a React application from Git that doesn't have node_modules on it. I try to install with command npm install but unable to do it. Following error
I just cloned a React application from Git that doesn't have node_modules on it. I try to install with command npm install but unable to do it. Following error
Two different child components using the Zustand store are rendered on every state change. Though the state property they are using in the component is not upda
If you go on my site, https://amodhakal.github.io/portfolio/, then you would realize that that the site is only showing the navbar, not the home page. It only s
const [text, setText] = useState(''); const handleTextChange = (e) => { setText(e.target.value); } // Inside a form <input onChange={handleTextChange
Hi I am a beginner to Sanity and I am working on a personal project. All I want to know is how do I add a user along with his profile Image selected as a file f
Hi I am a beginner to Sanity and I am working on a personal project. All I want to know is how do I add a user along with his profile Image selected as a file f
My app returns a "null is not an object" Render Error when consuming the useFetch custom hook that I made to get async data using axios. The status, error, and
Warning in console: warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-syntax-flow@
This is how _app.tsx looks: function MyApp({ Component, pageProps }: AppProps) { return <Component {...pageProps} /> } and I am getting this error whil
I have an array of objects in state: this.state = { items: [ {id: 1, someattr: "a string", anotherattr: ""}, {id: 2, someattr: "another string", anot
I am using create-react-app to develop my react app and deploy it to Github pages. My app works correctly on development. But when I deploy, it successfully dep
I have an array of objects in state: this.state = { items: [ {id: 1, someattr: "a string", anotherattr: ""}, {id: 2, someattr: "another string", anot
I have a Next.js app hosted on Vercel at www.example.com, which needs to communicate with a backend .NET Core Web API hosted on a different server at api.exampl
npm install recharts using npm I get the following in my console npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to res
I am working on an express app(in typescript) and a react app bootstrapped with create-react-app(in js). The directory structure is here. The server directory c