Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
1 vote
0 answers
72 views

I am building a React application. In one of my components, the first thing that appears is a dialog where you have to select an option from an autocomplete component. This is mandatory for the ...
Carlos Lavilla's user avatar
0 votes
0 answers
108 views

as part of a group project, I am trying to set up a kanban system similar to those used by YouTrack, Trello, and others to manage project tasks from one status to another by moving them from one ...
s4nbr9root's user avatar
1 vote
0 answers
79 views

I use Ant-design Pro-Components for one project. Recently I had a problem with default table header buttons. I need to 'hide' them inside menu button that should open dropdown list. However, I can't ...
user31247628's user avatar
3 votes
2 answers
330 views

I'm trying to implement a language switch using react-i18next in a React TS app. firstly i added text manually in english and created a TextHighlight component looking like this: import React from &...
WULIT's user avatar
  • 31
3 votes
1 answer
390 views

At my current job, we use .env variables to set the main colors of the web pages. I've been using the new TailwindCSS setup where you define everything in index.css, but I haven't found a way to use ...
Becca's user avatar
  • 33
1 vote
1 answer
95 views

My question is extremely similar to this one: Use custom TypeScript typing .d.ts in nextjs (Module not found: Can't resolve ...) But the answer there doesn't seem to work for me. Basically, I just ...
McCrockett's user avatar
0 votes
0 answers
24 views

I decided to use Intl on React because it can be combined with babel to automatically scan the app for strings to translate. The issue is that upon refreshing the page I can see shortly the 5-...
Grag Boal's user avatar
0 votes
0 answers
75 views

I'm using React Query (@tanstack/react-query) to fetch RDF data from an API with Axios, but when the API returns a 406 Not Acceptable response, the query remains in a loading state indefinitely ...
Javad Farokhi's user avatar
1 vote
1 answer
172 views

I try using the hook useFormState from react-hook-form in a react-admin form I am a beginner for both modules so maybe I use them wrong but I searched through both of the documentations and I could ...
Paulo-99's user avatar
0 votes
0 answers
15 views

<nav> <ul> <li><a href="#" class="secondary">...</a></li> </ul> <ul> <li><strong>Acme Corp</strong>&...
Davidsumsion's user avatar
0 votes
0 answers
172 views

React Flow: Prevent onSelectionChange from Triggering on Node Click and Drag Issue I'm using React Flow (XYFlow) to implement a selection box that, when released, fits the view to the selected nodes. ...
Mourya Pranay's user avatar
2 votes
1 answer
73 views

I have developed a barchart with some fancy logic for bar labels which works in development but will not build unless I resolve the type error. I have tried extending BarChartProProps without success....
ShaunLangley's user avatar
0 votes
0 answers
26 views

My code import { Metadata } from 'next'; import Markdown from 'react-markdown'; import remarkGfm from "remark-gfm"; import rehypeRaw from "rehype-raw"; import { apiLink } from '@/...
i suck at programming's user avatar
0 votes
0 answers
63 views

How to fetch a JSON schema via an API call to my server in the react-jsonschema-form library? Any example is welcome.
Naydachy's user avatar
0 votes
0 answers
35 views

I am trying to create a component that looks something like this: type FN = (...params: any[]) => React.ReactNode; export type LoaderProps<T extends FN> = { data: Partial<Parameters<...
DattaIT's user avatar
1 vote
1 answer
53 views

I'm trying to change the color of a TextField component from Material UI, both the label and the input text only using TailwindCSS. Current MaterialUI version: 6.1.2 Current TailwindCSS version 3.4.1 ...
CrayonAzul's user avatar
0 votes
1 answer
760 views

I have the following issue when running command npm run build in my React TS app ERROR in ./src/main/webapp/app/app.scss Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js)...
Dilyan Galabov's user avatar
0 votes
1 answer
74 views

When using Typescript and passing an arrow function into another function as parameter, what would the type callout be? My situation is with React components, and I'm trying to pass an activation ...
Matt Becker's user avatar
0 votes
0 answers
41 views

I'm using Data Grid - Editing of mui to add a new row When I click su Add Row I set a new row with empy field: setRows((oldRows) => [...oldRows, { id: 0, aliquota: 0, descrizione: '', tipo: '', ...
Attilio Iurlaro's user avatar
0 votes
0 answers
128 views

Everytime a user visit the OAuth url, my program throws exception as follows: "TypeError: Failed to execute 'query' on 'Permissions': illegal invocation" while the page stucks up with ...
The Querying Tree's user avatar
0 votes
1 answer
61 views

import { Grid, GridItem, Show } from "@chakra-ui/react" function App() { return <Grid templateAreas={ { base: `"nav" "main"`, md: `"nav nav&...
Max's user avatar
  • 1
4 votes
5 answers
918 views

I'm following a tutorial that uses Chakra UI, and the following code works perfectly in the tutorial. However, in my project, I get a TypeScript error on the above prop in the Show component: import { ...
Kun.tito's user avatar
  • 485
1 vote
0 answers
103 views

I have my component library installed and I define the defineCustomElements, and so I can use all my components if I use react JS but, if I use react TSX when using the component, I get an error ...
Daniel landete martinez's user avatar
0 votes
1 answer
66 views

When I started my project, I made a class that handles the API data. Now I can't figure out how to manage the async to properly display the data. I have a console.log in fetchOpenings that will show ...
AnthraxFlavouredWax's user avatar
2 votes
0 answers
100 views

so i was working on a jest test file that is testing a hook that deals with session management and the project has moved forward to react 18 which made the testing library, react-hooks, deprecated. I ...
Jordan Campbell's user avatar
1 vote
0 answers
30 views

TSX question. I define an ES6 Map which is Map<string,string>, where all of the following constants are strings. There are no issues here. export const CALLER_TYPE_TITLE_MAP = new Map<string,...
gene b.'s user avatar
  • 12.6k
0 votes
1 answer
284 views

I'm trying to create a red box that has a notch on the top edge in React Native. This notch should have rounded corners with an inverted border radius. Then I wanted to write a word in the notch, with ...
Hunter's user avatar
  • 23
0 votes
1 answer
97 views

import Typography from '@mui/material/Typography'; import { Grid, Card, CardContent, Box} from '@mui/material'; import MainCard from 'components/MainCard'; import UploadGP from './components/UploadGP';...
Vinuka Osura's user avatar
1 vote
1 answer
95 views

I'm trying to learn how to use TanStack with TS, but I have various problems, I'm trying to execute this line of code, to obtain the data out of an API. const { isLoading, isError, data, isFetching, ...
Juan Bautista De Angelis's user avatar
1 vote
1 answer
181 views

I have a website deployed to text which is connected to the repository text. The issue here is that Vercel works perfectly until you click any link in the navbar (except for 'Oscar Rodriguez'). All ...
Oscar Rodriguez Santiago's user avatar
-1 votes
1 answer
95 views

i have been building a server manager for DayZ for a while now and recently I migrated my files into a new project with Asp.NET backend and React and TypeScript frontend. The Server itself works well, ...
Julian's user avatar
  • 1
0 votes
0 answers
40 views

We have a web application which runs on .NET 8 (recently we migrated from 5 to 8). Now the team is planning to build new screens in ReactTS and merge these screens with the existing .NET 8 web ...
Gopi's user avatar
  • 102
0 votes
1 answer
349 views

I am able to call className in jsx file, but not in tsx files. Can someone assist. The error being thrown is: No overload matches this call. Overload 1 of 2, '(props: ViewProps): View', gave the ...
Raffle.ski's user avatar
0 votes
1 answer
444 views

I have a chart where now by default in the legend when you click on an item it disappears in the chart instead of that I want to achieve when you click on the item you see only that item in the chart ...
DMT PYTN's user avatar
0 votes
0 answers
155 views

Circle of Fifths I want to create a clickable Circle of Fifths, with proper border and background colour like the image above, but have not been able to successfully create one in HTML/CSS. I'm ...
Raifa's user avatar
  • 1
1 vote
1 answer
35 views

I am developing a web app using React(TS)+.net+sqlserver. There is a function to let user post their photos. The problem is photos cannot be uploaded and always received by backend as null. Below are ...
DINGYANG ZUO's user avatar
0 votes
1 answer
144 views

I am using Video.js to wrap Google Cloud Storage video public URLs, so that I can both skin it and control what second the video plays at (for example, play at 12 seconds) I have the following in my ...
theGreenCabbage's user avatar
0 votes
0 answers
343 views

I'm familiar with ViteReact projects because I've done dozens of them, but now I wanted to do my personal big project with Ts beacuse of the size of the project and so that it's easier for me to ...
Sone's user avatar
  • 3
0 votes
0 answers
65 views

Here is my simple source code. import React from 'react'; import styled from 'styled-components'; import logo from '../assets/logo.svg'; const LogoContainer = styled.div` width: 100%; position: ...
kkim's user avatar
  • 1
0 votes
1 answer
272 views

The reason why i want to use client authentication is to use the token to add users/group/roles and and most of the api functions. I have been trying to use the ReactKeyClaokProvider from keycloak ...
DaylightintheUS's user avatar
0 votes
0 answers
30 views

For some reason when I login it doesn't set cookie session for client to access content Expressjs app setup: const app = express(); app.use(express.urlencoded({ extended: false })); app.use(express....
Saifujjaman Abir's user avatar
0 votes
0 answers
40 views

I'm writing it in a react type script. But the part that needs to be executed only once is executed twice, so we are having a problem The first tsx file with the function you use import React from '...
maje's user avatar
  • 3
0 votes
1 answer
34 views

I have an incrementing key in my React To Do App so I can filter out certain tasks with an id identifier. For some reason, I have to declare and define my id outside of the main function. Why can't I ...
Shuumi's user avatar
  • 23
0 votes
2 answers
2k views

So i am using react-query to do a simple post request to my api the problem I have is that the same request is being called twice. I know this because the console.log statement in the code below is ...
NoName's user avatar
  • 9
1 vote
2 answers
1k views

I'm trying to implement a function in my React web application that allows requesting permissions from the browser to access the user's camera, similar to how Google Meet does it. The first time a ...
Daniel Ramirez Gil's user avatar
0 votes
1 answer
46 views

I'm developing a TypeScript React E-Commerce platform with Java Spring Boot and PostgreSQL. When users submit a form, it should create a Conversation with an admin and send the form as a Message ...
p3terson's user avatar
1 vote
0 answers
452 views

I'm using React with Material-UI and the react-window library's VariableSizeList component to render a list of dynamically sized components. Each component's height is determined after it has rendered,...
harharprogrammer's user avatar
1 vote
2 answers
129 views

I'm using react typescript for the first time, and I implemented outside click event. I'm running into a problem where whenever i click on the active or currently selected component, it seems to ...
LVC's user avatar
  • 137
2 votes
1 answer
473 views

I have a React code that lets you add image files, preview, delete on click and add more. I'm happy with the functionality but I noticed some performance issues. function App() { const [...
Sebastian Meckovski's user avatar
1 vote
1 answer
1k views

i'm developing an Azure DevOps Extension and i'm very new at this kind of development. I'm using the official samples from Microsoft Github https://github.com/microsoft/azure-devops-extension-sample/...
Jesús Parra's user avatar

1
2 3 4 5
12