476,976 questions
-2 votes
0 answers
6 views
Personal Project best stack
I’m more of a beginner who’s just starting to learn to code, using AI coding assistants (Cursor, Copilot, etc.) as “training wheels” while I learn fundamentals along the way. In February I’ll start ...
0 votes
1 answer
26 views
Build Error in ReactPress - error TS6053: File 'src/*.ts' not found
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 ...
0 votes
0 answers
13 views
Applying the onRowSelectionModelChange for React Material UI DataGrid
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 &...
0 votes
0 answers
18 views
MUI X-date-pickers output and none visible redundant characters
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....
-3 votes
0 answers
58 views
Catch error thrown from child route in tanstack
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 ...
-1 votes
0 answers
31 views
map not loading, what could be the problem? [closed]
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....
-4 votes
0 answers
17 views
Expo LocalAuthentication works on iPhone(IOS 26) but not on iPad mini(iPadOS 26) [closed]
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'; ...
-5 votes
0 answers
103 views
What are problems with this pattern in these situations? What is a less problematic pattern? [closed]
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 ...
Best practices
0 votes
1 replies
41 views
What’s the best architecture for mixing local AI + cloud AI inside a React/JS app without turning the codebase into spaghetti?
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 ...
-6 votes
0 answers
30 views
How to view pdf,xlsx,docx,ppt in nextjs from s3 getobject url [closed]
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-...
0 votes
0 answers
41 views
getting spacings and alignments in jsonforms correctly
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 ...
0 votes
0 answers
26 views
How can I create an in-curved notch/cutout in a div border where another div overlaps it? [closed]
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 ...
-3 votes
1 answer
58 views
The proper way to assign a default value to a React component prop
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 ...
0 votes
2 answers
49 views
How to display <NavLink> components outside MemoryRouter in React Router? [duplicate]
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 = ...
2 votes
1 answer
62 views
React 18 streaming chat messages updating with stale state
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 ...