Skip to main content

All Questions

Tagged with
0 votes
0 answers
12 views

React app fetch request from IP address if no domain name is available

I have written a React application (React+Vite) which makes some fetch requests. Here is an example: const fetchRows = async () => { let rows = []; const response = await axios.post( 'http:/...
FreelanceConsultant's user avatar
0 votes
0 answers
11 views

Display flex is not taking affect in my website - I am making a food delivery application in react

enter image description here This is the code for the navbar's right side menu items. And down below is the output in the browser: enter image description here I have inspected and checked the console ...
Gurvak Singh's user avatar
0 votes
0 answers
9 views

What is the compatible version of storybook addon theme?

I want to configure custom theme classes in my nx angular application. I just installed storybook version of 7.5.3 and storybook-addon-themes 6.1.0 which is latest version of custom theme ...
Dharmasheelan A's user avatar
1 vote
0 answers
22 views

Force React to rerender between processing simultaneous mouse events

Here is a basic example of the issue. A component contains two nested divs. We can keep track of the "depth" of the mouse position (0 if outside both divs, 1 if inside the outer div but ...
Arthur F.'s user avatar
  • 300
0 votes
0 answers
11 views

How to change Background color of AgGrid Table dynamically?

I am setting value from Navbar.jsx in localStorage. In Navbar Component, there are select tag with two options "light" and "dark" if i select dark option then i am setting this ...
rohit sharma's user avatar
0 votes
0 answers
6 views

Problem with SmartBrain App - Failed to load resource: the server responded with a status of 404 (Not Found)

I'm trying to solve an issue I've been having with my SmartBrain app. I completed the ZTM Web Developer course and completed the app but then had problems using it later on. I keep getting a "...
Brandon Fyall's user avatar
0 votes
0 answers
13 views

useState to hide elements in Navbar?

I want to hide some links in my Navbar. There are three different types of user, and each of them will see some other links on the navbar. For example: User 1 - Link 1 and Link 2 User 2 - Link 3 and ...
Primo Centurio's user avatar
0 votes
0 answers
16 views

How to click an item to select it for dragging?

When using React Draggable, normally you click and hold down the button to select and drag an item with the mouse. Is there a way to just click an item and release the mouse button, and that item ...
Mike Ford's user avatar
-1 votes
1 answer
30 views

React/JS prop separated by colon [duplicate]

what is the meaning of the colons in between { placeholder }: { placeholder: string } in the props of the Search component? This also shows up later in the code in the main Page component.... Is it to ...
Nikoniko's user avatar
0 votes
0 answers
15 views

When using react-select components with react-hook-form inside a Radix UI Sheet or Modal, the tabindex does not work

I have a saas project where I use React hook form and shadcn-ui. when I run the form I created in nextjs page, I can use it without any problem. When I use the form in sheet component, tabindex does ...
Mehmet Yılmaz's user avatar
0 votes
0 answers
11 views

Updating a title using snabbdom

im trying to "create" my own framework as an exercise using snabbdom, but my parent element keeps not showing up in the DOM, and im not sure why it does this. this is my element.js + quote....
Arjen Bos's user avatar
0 votes
0 answers
16 views

Slight delay in updating the ui

In my deleteOrSubstractQuantity when the first if statement gets called where I set the quantity to 0 essentially deleting the item's quantity and the "expanded view" closes the quantity in ...
user9132502's user avatar
0 votes
0 answers
11 views

Edge labels are overlapping in vis js hierarchical layout. Is there a solution (even a hacky solution)?

I was trying to create a hierarchical layout graph in Vis JS, these are my options - enter image description here const hierarchyOption: Options = useMemo( () => ({ autoResize: true, ...
Bipul Shaw's user avatar
0 votes
0 answers
31 views

How can I retrieve all users from Azure Active Directory

I'm new to Azure. I want to create a dropdownlist that contains all the user's display name from the Azure's Active Directory but I'm not sure how to do it. I want to populate a dropdown list with ...
jeya surya's user avatar
0 votes
2 answers
43 views

Why is my Next.js page generating static files with old data during the build process?

I'm working on a Next.js project where I fetch grades from a database using Prisma in the app directory. The fetched data is displayed using a GradesComponent. However, when I run npm run build, the ...
Moaz's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
13830