Javascript – passing data from one page to another in nextjs
so I have been making a website and I am making a registration page for people to sign up but I need to check if the email is valid or not and because of that i can't use Link. cause…
so I have been making a website and I am making a registration page for people to sign up but I need to check if the email is valid or not and because of that i can't use Link. cause…
I'm running my node.js back-end server at port 3001 while my react.js is running at port 3000 i have been trying to setup my nginx server to no avail, kept getting either bad gateway or cors error please help below…
I am actually working on a big project using php laravel as backend and react as frontend, in which Its like I would upload a zip file containing react project and once the file is uploaded it would extract the…
I use nextjs 14. In the dashboard root of the layout file, which is a server component, I make a get request to the api developed with .net. The root of the problem is that the cookies set by .net…
Currently, i implement custom hook for useMuatation hook for separation of concern and reusable. Typescript is complaining my createBook function ***Type '(bookData: Shop) => Promise' has no properties in common with type 'UseMutationOptions<Shop, Error, Shop, unknown>' ***. Here is overview…
I try to send a list of data from frontend via axios and recieve it in views.py with django. The style of a data that I send: [{ nameDetail: "1", valueDetail: "3" }, { nameDetail: "2", valueDetail: "4" }] And…
I have created a website using React and Vite (as a bundler). On my local host everything's working fine, but on production my routes are not working, and it's showing me 404 errors. Every time I have to open my…
I'm encountering an error while integrating Stripe payment into my React Native app with an Express.js backend. When attempting to process payments, I'm receiving the following error message: "As per Indian regulations, only registered Indian businesses can accept international payments."…
So I just began using styled-components and I'm sorry if there is some very basic error I'm making. But I've looked over the docs a dozen times now and can't find any way to get it to work with absolutely…
I have react-router-dom set up like below: <Router> <Routes> <Route path="/" element={<Home />} /> <Route path="/post/:slug" element={<Post />} /> // other routes </Routes> </Router> I have my frontend hosted in an S3 bucket and served through a CloudFront distribution. All…