-
New Sep 19, 2024
Pull User's LinkedIn saved posts
I'm currently working on developing a web application to organize and consolidate bookmarks from LinkedIn. I'm looking for the relevant API that will enable users to authorize my app to access th...
-
New Sep 19, 2024
Cancel Backend Processing in Node.js When Client-Side Aborts Request (MERN Stack)
Overview I am working on a MERN stack application, and I need help handling request cancellations in my Node.js backend, particularly when a client-side request is aborted. Details In...
-
New Sep 19, 2024
how to get full version history of SharePoint list item from from begining
Additional environment details "@pnp/sp": "^3.13.0", "react": "17.0.1", "@microsoft/sp-core-library": "^1.17.1", "@micr...
-
New Sep 19, 2024
How to Merge Headers in tanstack/react-table
I'm working with @tanstack/react-table in a React app and trying to merge headers for a specific column like the example in the screenshot I posted. I want to merge the ones I circled gr...
-
New Sep 19, 2024
React Native Expo SQLiteProvider not working
It keeps giving me error of None of these files exist: appdatabase.db app\assets\database\appdatabase.db Below is my code All file and path are correctly stated import { SessionProvider } fr...
-
New Sep 19, 2024
Mobile responsive issue with framer motion in react
I build this project using React and bootstrap and it was complete responsive when I added framer motion it cause responsive issue as can be seen in the image. What I am doing wrong? here you can se...
-
New Sep 19, 2024
Gray Border Around Mobile View at 50% Zoom in React App
I am working on a React app, and I've encountered a layout issue when viewing the app in mobile device emulation at 50% zoom in Chrome DevTools. A gray border appears only on the right and bottom si...
-
New Sep 19, 2024
expo-av how to load an audio stream?
I'm trying to implement expo-av to load an audio stream. It works, but it loads the audio in about 25 seconds which I find too slow... I don't see a user waiting 25 seconds for the audio to load, he...
-
New Sep 19, 2024
Is there a way to validate and allow only https url's using .isUri i.e. without using Regex in JavaScript?
Is there a way to validate "https" url's using .isUri in javascript (it should return true only for https url's)? (any other method should be fine except re...
-
New Sep 19, 2024
Issue with Axios POST request to Flask backend in AI model
I'm working on a React frontend and Flask backend, and I'm encountering a CORS issue when sending a POST request from the frontend to a Flask route (/predict). The GET request to the root (/) works...
-
New Sep 19, 2024
How to enable vim, vi, and nano to work in Xterm.js?
I am developing a web-based terminal in a Next.js application. The frontend communicates with an API (/api/socket) that opens a WebSocket session with a Go application. The Go application est...
-
New Sep 19, 2024
Does shadcn/ui SelectTrigger click event blocked when another SelectContent opening?
Like the tiltle said, I have two shadcn/ui Select components, when SelectContent2 opening then i click to SelectTrigger1 the content of of SelectContent1 doesn't show immediately. Does it contain an...
-
New Sep 19, 2024
Clarifai - Getting 400 error when running face-detection
When I put in a URL and run the API call, I get a 400 error specifically pointing out the fetch() function. I am unsure what I am doing wrong or if my code is wrong. My current co...
-
New Sep 19, 2024
Someone know how to solve this error. I can't do it [closed]
Starting the development server... C:\Users\Usuario\Desktop\Fullmindtech\APP CAMARAS\frontcountcars\node_modules\react-scripts\scripts\start.js:19 throw err; ^ TypeError: Cannot read properties of un...
-
New Sep 19, 2024
How is this React component library able to use drag and drop on SVGs?
First off, this is NOT a duplicate of all those other questions trying to implement drag and drop for svgs and answerers telling them they can't - somehow this code I'm reading HAS done it, and I ca...
-
New Sep 19, 2024
This code bypass React protections to XSS. Is there any other malicious way?
<td>{props.seller.webpage ? <Button as="a" href={props.seller.webpage} target="_blank">Open</Button> : "N/A"} </td> because if instead of props.se...
-
New Sep 19, 2024
I try to make a class to turn my react neater. and now use efffect or requestAnimation make my game controller disconect [closed]
my old gamePage look like this : import React, { useEffect, useState, useRef } from 'react'; import GamepadManager from '../utils/GamepadManager'; import Stick from '../utils/Stick';...
-
New Sep 19, 2024
React Youtube card. Playbutton not rendering properly in CSS
I have below example where I am trying to render a YouTube card. The issue I am facing is that the play button white background is not adjusting into the play icon that I am setting through my CSS st...
-
New Sep 19, 2024
How to Resolve CSP Error with Paddle in a React Application? [closed]
I'm on react and when I try to open the paddle checkout, I get a response with this CORS error: [Report Only] Refused to frame 'https://sandbox-buy.paddle.com/' because an ancestor violates the f...
-
New Sep 18, 2024
Change Color of Dynamically created elements in React + React Hook Form
I'm using React Hook forms to create some dynamic forms. React Hook Forms has a function for creating repeatable elements called useFieldArray. In some of these repeatable, dynamic elements...
-
New Sep 18, 2024
Next.js 14 App Router: Code after return still executing, causing unexpected behavior
Issue: I'm encountering an issue in a Next.js 14 App Router project where code after a return statement is still being executed, even though the condition for returning a component is met. Th...
-
New Sep 18, 2024
Improve my AuthGuard for NextJS with Firebase
I am working with the T3 Stack and got stuck creating an AuthGuard. This AuthGuard essentially acts as a Page Manager that redirects the user to the appropriate page. I have set up a working version,...
-
New Sep 18, 2024
NODEJS + REACT + POSTEGREE - Module not found?
I'm trying to create a website in nodejs, I download a template and start to modify the static part, now I need to add the dynamic part. I have a postgree database (genezio) and I need to display s...
-
New Sep 18, 2024
Style button with linear gradient border and inner shadow Tailwind CSS and Next.js [closed]
I hope you can help me to style this Button with Tailwind css and Next.js. Below you can find the image of the Button and also the Image of styles. The button should have this border color with li...
-
New Sep 18, 2024
How to make a wordcloud on React nodejs using data from a DB?
I'm trying to make a wordcloud from data that i extracted from a database on SQL, this table have a column named text_data and i'm trying to make the wordcloud using the info on that column but i'm ge...
-
New Sep 18, 2024
Set element width based on a string that is not in the element
I have a React component that can render one string or another. const MyComponent = (props: { readonly textA: string; readonly textB: string; readonly renderB: boolean; }) =>...
-
New Sep 19, 2024
Passing function with arguments as a prop and invoking it internally in React
I got a Badge component in my React app. The badge can be painted in different colors. In order to make it more universal i've decided to add a prop called getBadgeColor. The idea is to implement di...
-
New Sep 18, 2024
Creating a React library with Vite and Lingui
I'm trying to create a React library with Lingui using Vite. For simplicity let's say I have a Welcome component: import { Trans } from "@lingui/macro"; function Welcome() { return (...
-
New Sep 18, 2024
can I customize the error in Next-auth (nextjs)?
I am trying to add authentication to my nextjs app using Next-auth (using the credentials provider) and I can't find a way to customize the error (i.e wrong password, email doesn't exist .....
-
New Sep 18, 2024
React-hook-form: how to add logic to the onChange property in a custom input
I am working in a project using react with typescript, and I'm using react-hook-form and the form component that comes with shadcn/ui: https://ui.shadcn.com/docs/components/input#form For my case,...