Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
33 views

I have chrome extension made with react, and the same webapp on a website. each app should send and receive stream over webrtc. With chrome extension it works well, it sends and receives. on the ...
Slava709's user avatar
1 vote
2 answers
62 views

I'm trying to make a progress bar that has a transition animation. Think: a multi-page wizard, and when you advance to the next page the progress bar animates to the next step. When the progress bar ...
Ivan Rubinson's user avatar
-3 votes
0 answers
21 views

I'm new to React and I'm having a problem with Mantine. My Slider is visible and the value updates, but the thumb stays stuck on the left and doesn't move at all. Here is my code: <Box ref={ref} ...
user699701's user avatar
-1 votes
0 answers
34 views

I have problem with all Inertia projects. When the user opens the page from their browser history it opens a JSON not a React page. How can I prevent this? I have: "dependencies": { &...
ibrahim elshorbagy's user avatar
Best practices
1 vote
4 replies
65 views

So, being used other reactive frameworks I'm now starting to learn and work with React. I'm building a simple exercise and I'm struggling with the way State is managed in React, I'll already have ...
Noel Rubio Lavilla's user avatar
-3 votes
0 answers
30 views

enter image description here I’m building a normal React project (not related to blockchain, crypto, or MetaMask). However, Chrome gives this uncaught error in the console: Failed to connect to ...
Philip Chege's user avatar
0 votes
0 answers
43 views

With the maturity of server-state libraries like TanStack Query (React Query) and the improvements in React's native state management, I'm re-evaluating the necessity of Redux Toolkit for global ...
Ali Ahmed's user avatar
-1 votes
1 answer
38 views

how can i resolve this problem and this my jest.config.js module.exports = { preset: 'react-native', "setupFilesAfterEnv": [ "@testing-library/jest-native/extend-expect" ]...
Hela slimen's user avatar
-1 votes
0 answers
22 views

I'm trying to apply the row selection model in React Material UI. Intension here is to show the rowId when a row is selected so that I can show the row action buttons as DELETE/EDIT. I'm using the &...
Abrar's user avatar
  • 13
-1 votes
0 answers
24 views

I'm using "@mui/x-date-pickers": "^8.19.0" and @mui/material": "^7.3.4" in a "next": "15.5.6" application with "react-dom": "19.2....
S. Hesam's user avatar
  • 7,159
-4 votes
0 answers
65 views

I want to control conditions related to that route in each route instead of building central navigation system in the root route that checks from and to of the navigation event. To that, my idea was ...
Max Koretskyi's user avatar
-4 votes
0 answers
21 views

A bit lost here, I have the following code running trought expo go and it does nothing on my iPad but it works fine on my phone: import * as LocalAuthentication from 'expo-local-authentication'; ...
Kol4o100's user avatar
Best practices
0 votes
1 replies
49 views

I’m trying to design a “future-proof” React/JS setup where the app can switch between different AI backends (local models like WebGPU/WebLLM, API models like OpenAI/Gemini, and maybe even custom ...
Eli's user avatar
  • 59
-1 votes
0 answers
50 views

I'm trying to use JSON Forms to create different forms for my website, and I'm using custom buttons and input fields (using custom renderers) to render the form. I'm interested in making the UI right, ...
juztcode's user avatar
  • 1,431
0 votes
0 answers
26 views

I'm trying to recreate an overlapping box layout where one box appears to "intrude" into another box's border with a smooth, curved notch effect (not just a straight cutout). Here is the ...
BigLadDylan's user avatar
-3 votes
1 answer
60 views

I'm looking for a working & elegant solution to assign a default prop value to a React Native core component such as Text. In the past, we'd do something like this and override it at the index.js ...
AndrewHoover898's user avatar
0 votes
2 answers
52 views

How to display <NavLink> components inside the Footer? I cannot place the Footer inside RouterProvider. The Footer component should be displayed on every page. function App() { const router = ...
stot's user avatar
  • 1,137
2 votes
1 answer
71 views

i’m building a small AI chat ui in react (next.js app router, react 18) that streams tokens from my backend (openai style stream). basic flow: user types a prompt i push the user message into ...
Eli's user avatar
  • 59
0 votes
0 answers
50 views

I'm working on a project, which uses a react SSR module (using Vite). Then I'm using a seperate worker which loads my site and there's link /load-ssr which loads the SSR module as a "binding"...
AwaisMehnga's user avatar
-4 votes
0 answers
33 views

Pergunta Estou recebendo o seguinte erro ao iniciar meu projeto Next.js: Hydration failed because the initial UI does not match what was rendered on the server. Unexpected attribute: cz-shortcut-...
Gabriel Ribeiro's user avatar
-2 votes
0 answers
38 views

Im having an issue with supabase postgres changes. I have a subscription on frontend to watch for changes on a table using RLS policy to only see the changes of the current user. The problem that im ...
Fausto Sanchez's user avatar
-1 votes
0 answers
41 views

I have a React + PrimeReact component that displays static text, and when the user clicks an edit button it switches to editable inputs (InputText, InputTextarea, InputNumber, etc.). The entire ...
Jose Luiz Durigon's user avatar
Best practices
1 vote
4 replies
122 views

I want to hear your personal opinion. And I would like to hear what way y'all prefer when working with React projects. I'm currently working with a full-fledged ecommerce website. I would love to hear ...
Evolved Darrshan's user avatar
0 votes
0 answers
32 views

Why does updating state in React inside a loop cause stale values even when using functional updates?
Mayank jandu's user avatar
0 votes
1 answer
52 views

On a React App, I'd like to remove the accessory bar that appears above the iOS keyboard when we are focusing on a textarea. Is it possible ? I tried a few things saw on the internet but nothing works ...
Julien trqt's user avatar
0 votes
0 answers
72 views

I’m trying to deploy my personal website to Vercel using Vite + React + Tailwind CSS. The project builds and runs fine locally (npm run build works without errors), but the Vercel build fails with the ...
Vinicius Almeida's user avatar
Best practices
0 votes
3 replies
74 views

I am planning to implement pagination into my project for my data from Supabase, I had the idea that since there are different parameters (such as search text, page number, filter) that I should use ...
1million_ naira's user avatar
Advice
1 vote
2 replies
70 views

I'm migrating an app from React Router v6 + Webpack to React Router v7 (SPA mode) + Vite and I'm having issues with setting a strict Content Security Policy. In RR6 I had a normal index.html and ...
tykhan's user avatar
  • 131
0 votes
1 answer
98 views

I have a simple debounce implementation using `useEffect` and `setTimeout` that delays updating a `value` state by 1 seconds after the user stops typing in an input: import { useEffect, useState } ...
Rohit jagdale's user avatar
0 votes
1 answer
55 views

I'm currently working on my first NextJS app after a long hiatus. The first thing I'm working on is a small app that's powered by Firebase. After reading some documentation on Context and then ...
MisutoWolf's user avatar
  • 1,273
Best practices
0 votes
2 replies
93 views

I’m building an e-commerce type website in Next.js where there are multiple sections of stores. Each store card has a heart icon to mark it as a favourite. The same store can appear in: multiple ...
Ali Sadain Tanvir's user avatar
Advice
1 vote
1 replies
46 views

Here is my on message handler: const onMessage = (event: MessageEvent) => { try { const message = JSON.parse(event.data); const normalizedMsg = Array.isArray(message) ? message : [...
stephano's user avatar
  • 172
2 votes
0 answers
57 views

I'm building a React Vite application for 3D modeling using react-three-fiber. I recently integrated a microfrontend (MFE) using the module federation plugin and shared React and other core packages ...
saravanan chidambaram's user avatar
-1 votes
0 answers
77 views

I have a React (Vite) frontend and a FastAPI backend. I want to protect /dashboard so that the Dashboard.jsx component is not downloaded by the browser unless the user is authenticated. In a normal ...
KaranSRMA's user avatar
1 vote
0 answers
55 views

I'm building an embedded widget as a Web Component using Vite + Tailwind CSS. When the app runs standalone, Tailwind responsive breakpoints (sm, md, lg, xl) work correctly, because they react to ...
Ivan Pruchai's user avatar
-1 votes
0 answers
25 views

We have a popup functionality that works fine on AEM as a Cloud in Dev and Local environments, but it’s not working in Stage and Prod. Here’s the setup: We are using Sling Model Exporter and an AEM ...
Naveen.P's user avatar
-1 votes
1 answer
93 views

I am using TailwindCSS in my React + Vite project, and the classes are loaded correctly. The UI looks complete. The problem is that colors from variables defined in tailwind.config.js are not applied. ...
kobi shunak's user avatar
0 votes
1 answer
28 views

In my react application I have a simple html select that has the multiple attribute set. When the selection changes a server request is issued and afterwards the component is re-rendered. The problem ...
Markuz's user avatar
  • 67
Best practices
0 votes
2 replies
52 views

I've been reading up on React/Redux documentation, specifically on setting up types for the main redux application store, and was wondering if there are any significant differences when it comes to ...
Talos0248's user avatar
  • 260
Tooling
0 votes
1 replies
50 views

I have an automated deployment tool that generates a React or Angular project, uploads it to Azure App Service, and then restores node_modules to reduce build time. To avoid running npm install on ...
Shaan's user avatar
  • 11
-1 votes
0 answers
43 views

I'm working on a React project where I'm using React-Leaflet and need to display GeoTIFF (.tif) layers on multiple maps within the same page. Overview: I have several Leaflet maps rendered ...
Ravi Ghevariya's user avatar
-1 votes
0 answers
54 views

I have set up my tRPC backend as per the docs which I'll paste in below. My issue is using it with @tanstack/react-query works perfect for 90% of my use cases but I can't physically call my backend ...
frost2709's user avatar
  • 401
1 vote
1 answer
63 views

I have a React application that uses React leaflet to render a map and I can draw a polygon on the map using a function I've written. I want to submit the polygon that's drawn to an SQL database and I ...
Adimirio's user avatar
-2 votes
0 answers
41 views

I am building a mobile application and the framework I am using is React Native + Expo. When it comes to verifying the clerk's email, there is an error that the verification failed. I received the ...
DucVjt's user avatar
  • 1
Best practices
0 votes
2 replies
51 views

I'm currently learning inertia with react after using livewire and finding myself quite limited so I'm making a sample project that makes invoices to practice making forms and saving data to a ...
Alejandro Bolívar Hidalgo's user avatar
Best practices
0 votes
0 replies
77 views

I use SVG icons in a typescript / react application. The icons are in a SVG file. Every icon has an ID tag (the common way). In code I reverence the icon: <svg className="icon icon-lg" ...
Gerd's user avatar
  • 2,691
Advice
0 votes
5 replies
72 views

I have Laravel 12 project (PHP, Inertia, ReactJS and Tailwind) project that I need to deploy to a cPanel shared server. I do not have SSH access to the server, and the service provider does not give ...
Rootsman's user avatar
-1 votes
0 answers
44 views

I am using Radix theme https://www.radix-ui.com/themes/docs/overview/getting-started and I am specifically using the Table component. I want to override default styling for just the Table.Header ...
michaelNL's user avatar