Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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
0 votes
1 answer
30 views

I'm encountering an error when trying to run pnpm run dev in my ReactPress project (version 1.6.0). The build process fails during the build:config step with a TypeScript error stating that files in ...
react's user avatar
  • 9
0 votes
0 answers
13 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
  • 17
0 votes
0 answers
19 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,161
-3 votes
0 answers
61 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
-1 votes
0 answers
33 views

I’m building a checkout page with React (Vite + TailwindCSS + Redux) and using React‑Leaflet for the delivery location map. The map renders, but only the marker shows — no roads or tiles are displayed....
Junaed Mustofa Chowdhury's user avatar
-4 votes
0 answers
19 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
-6 votes
0 answers
107 views

I have a particular situation where I need a component (ViewOne) to update a ref, and read from that ref on mount. I also have a second component (ViewTwo) that needs to render different content ...
chrisroode's user avatar
Best practices
0 votes
1 replies
45 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
  • 57
-6 votes
0 answers
30 views

My s3 url is getobject url - .pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=&X-Amz-Date=&X-Amz-Expires=&X-Amz-Signature=&X-Amz-...
Filmgoer bot's user avatar
0 votes
0 answers
41 views

Currently, I'm trying to use jsonforms to create different forms for my website, and I'm using custom buttons and input fields (using custom renderers) to render the form, currently I'm interested in ...
juztcode's user avatar
  • 1,433
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
58 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
50 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
65 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
  • 57
0 votes
0 answers
48 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
30 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
36 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
0 votes
0 answers
38 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
118 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
60 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
72 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
67 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
2 answers
93 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
88 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
45 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
75 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
54 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
2 answers
86 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
48 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
  • 271
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
42 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
50 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 votes
1 answer
88 views

I was trying to learn React using this tutorial: https://react.dev/learn/tutorial-tic-tac-toe. The code I am sharing below just builds 9 squares, and creates two state variables: turn and value. The ...
Kanchan Kumar's user avatar
1 vote
1 answer
62 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
50 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
1 replies
72 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
0 votes
1 answer
137 views

I have a sticky bar on the right side of my page and I want to animate its top property (and height) to nicely fit its transition to disappearing announcement bar at the top of the page. Below video ...
Ugus's user avatar
  • 255
-4 votes
1 answer
61 views

I am building a Habit Tracker application using React (Vite) and Tailwind CSS, deployed on Vercel. The Problem: I recently updated a component (HabitList.tsx) to fix a UI issue where an input field ...
Ompal Yadav's user avatar
-1 votes
0 answers
48 views

As soon as I use dispatch to change a property of the object in redux state, suddenly the whole component re-mounts in react native. Below is a part of my Slice.tsx: const initialState = { ...
Archit Gupta's user avatar
-1 votes
0 answers
42 views

I see this super weird behavior, I have extremely basic route definition: import { createRootRoute, createRoute } from '@tanstack/react-router'; export const rootRoute = createRootRoute({ component:...
Max Koretskyi's user avatar

1
2 3 4 5
9540