I started a project using parcel as a bundler a few days ago (I'm a newbie and thought parcel was best, because it doesn't come with any extra files), but today I started having the following problem.....
The following code is a stripped back version of the page used to edit categories on my site.The fetchCategory() function is an API call which populates category but takes a little while to resolve. ...
Why does React router DOM navigate(url, {replace: true}); not redirect me?Example:const navigate = useNavigate();navigate('https://stackoverflow.com/questions/ask', {replace: true})Inside a React ...
I am attempting to create a dynamic page using locally created data using React and Next.js in particular. Unfortunately, it is throwing an error.My folder structure is like so:app/ projects/ ...
I have a React application built with Vite and deployed on Vercel.When I visit:https://example.com/demo-url It works correctly which is good.But when i visit:https://example.com/demo-url/ It ...
i have some problem, which is my react-player doesnt come out/can't play. i dont know why, i already ask some alternate to chatgpt but it's not working. i dont what the problem, is it the version or ...
I see lots of React TypeScript code which uses an assignment form of method declaration, such as: const handleChangeComplete = (color: { hex: any; }) => { setBackground(color.hex); ...
I'm using React to create a control to view files on a remote system and would like the UI to show exactly one of them as selected so I put this code together which mostly works but allows an item to ...
I have assigned a value to cardsSelected in my constructor state. Using setState I am able to alter and read it's value. After this I set the state of cardsRemaining to 0. However, I'm told that this ...
I’m having an issue with quick action buttons on remote push notifications not triggering any event on iOS, while everything works perfectly on Android.When I tap a quick action on iOS:The app ...
When working on multilingual projects, we usually use i18n along with Google Translate.In several of these projects, I’ve been facing a recurring error:NotFoundError: Failed to execute 'removeChild'...
I have an unordered list wherein each list item is a card which contains a button. The button opens a popover with 2 options - edit/delete.When I tab through to the button and click on delete, a new ...
I've had a number of issues getting my Next.js to build and load using GitHub Pages. The final problem I am having now is that the images are not loading and it appears to be a problem with the image ...
I'm using react-big-calendar (v1.19.4) with the drag-and-drop addon.When I create an all-day event (rendered in the all-day row) and then drag it into the time grid area, the event starts flickering ...
I'm using Next.js App Router and setting a cookie inside middleware.ts:import { NextResponse } from "next/server";export function middleware(req: Request) { const res = NextResponse....