Questions tagged [reactjs]
React is a JavaScript library for building user interfaces. It uses a declarative, component-based paradigm and aims to be efficient and flexible.
reactjs
479,410
questions
0
votes
0
answers
6
views
Why is my NextUI Slider not working in a page.tsx file?
What is displayed:
status-widget-v1
Select a value50
page.tsx (code)
"use client"
import React from "react";
import { Slider } from "@nextui-org/slider"
export default ...
0
votes
0
answers
5
views
Framer Motion delayed in NextJS
I am trying to replicate "Framer Motion animate on state update" example (which is done in React) in NextJS.
This is the link to my GitHub repository that I tried to replicate the example in ...
0
votes
0
answers
10
views
How to prevent cached responses with Astro on Vercel?
I am trying to fetch data on the client side in Astro, but I keep getting a cached response.
From my endpoint in src/pages/api/spotify.ts I am sending:
export const prerender = false;
...
export const ...
0
votes
0
answers
12
views
API Gateway "log.getClientIdentifier() is null or missing"
Here is the complete error I'am using Spring java as backend (gradle) and ReactJS as frontend.
Here is my docker Gateway logs:
2024-07-05 20:20:32 Jul 05, 2024 6:20:32 PM freemarker.log....
0
votes
0
answers
6
views
Nextjs and Kinde auth issue
'use client'
import { useState } from 'react';
import Link from 'next/link';
import Image from "next/image";
import { RegisterLink, LoginLink } from "@kinde-oss/kinde-auth-nextjs/...
0
votes
0
answers
11
views
Cpanel passenger not defined nodejs
enter image description here
The Phusion Passenger(R) application server tried to start the web application through a Passenger-internal helper tool called the "wrapper". But Passenger was ...
1
vote
1
answer
21
views
extract string emojis from text
i want to extract string emojis from string to array of string.
Previously, i had this regex:
const regex = /([\u{1F600}-\u{1F64F}])/gu
and i was using it like this:
const parts = text.split(regex)....
0
votes
0
answers
9
views
Reactjs getting 401 error only at the first time
I am getting 401 error (mern stack project)only when i tap on the profile icon for the first time, but if i refresh the account page then all the datas are shown correctly.
This is the page in which i ...
-2
votes
0
answers
12
views
Why won't a brand new react app won't run in vs code?
It runs fine from a terminal using npm start but not when clicking the play button. When clicking the play button I get error:
Could not read source map for chrome-error://chromewebdata/: Unexpected ...
0
votes
0
answers
7
views
Unable to get data from mmkv before API calls in react native
I am using zustand and mmkv with tanstack query in my react native app. The issue i am facing is i am setting the access token when the user logs in and i remove the auth stack from navigation and ...
0
votes
0
answers
3
views
Unable to get "id" even though it is working perfectly in other functions and everything is right
So I wrote this function which calls a function in a different file use Context in React JS
I am getting this error only in this function as in other function which are similar it works perfectly
Code
...
0
votes
1
answer
25
views
window is not defined in NEXTJS 14 Build
I am trying to create a build of my nextjs project but it keeps on failing and showing the below error where as it works perfectly during development. I haven't used the 'window.' in my whole project ...
0
votes
0
answers
7
views
While hosting my node and react project in cpannel error occurs
I hosted my node and react js app in cpannel it shows white screeen with these errors and when i try to hit the same thing in http then it works perfectly fine
These are the error shown.
index-...
0
votes
0
answers
13
views
Why am I unable to receive image file uploads on my Express server from my client?
On the client side I am just using react-drag-drop-files component
Client:
import { FileUploader } from "react-drag-drop-files";
import React, { useState } from "react";
const ...
0
votes
0
answers
8
views
How to hide controls, showinfo, modestbranding and rel in my youtube embeded video?
I want to hide all the below points in my youtube embeded link but it is not working at all. How to do it? Had researched but could not get anything which can help me with this.
Let me know if it is ...