476,194 questions
-4
votes
0
answers
58
views
How to run a Vite dev server remotely [closed]
I am trying to build a simple web app. I have Python/Flask for the backend, and running React with vite for the frontend.
Here is my setup:
The VS Code server runs on a Synology DS423+ as a container....
-1
votes
0
answers
36
views
Arabic text randomly changes to different Arabic words in some clients [closed]
I have a web application opened on mobile phones.
It's a React application built with Vite and we use:
i18next
react-i18next
to handle localization.
Arabic is the default language and the Arabic ...
-1
votes
1
answer
81
views
Invalidate queries with subquery
Consider the following:
const useFetchPosts = (params?: Record<string, string>) => {
async function fetchPosts({
queryKey,
}: {
queryKey: [string, Record<string, string> | ...
-4
votes
0
answers
57
views
TypeError: Unknown file extension ".jsx", when test React component with Mocha
I have a problem with testing components of my React app (Music playlist app) with Mocha.
Project root directory:
-node_modules
-public
-src
|_assets
|_components
|_App.css
|_App.jsx
|...
Advice
0
votes
2
replies
60
views
Just created an application for job enchancement
I recently built a web app called Role Accel that helps people practice for tech interviews using AI.
Some of the features include:
- AI-powered mock interviews where the system plays the role of a ...
Best practices
0
votes
1
replies
29
views
Recommended folder structure for managing multiple client React projects with shared components?
Work in an agency environment where we build and maintain multiple React applications for different clients. Many of these projects share common UI patterns, utilities, hooks, and design systems, but ...
-1
votes
1
answer
42
views
Android Bundling Failed: [BABEL]: Cannot find module 'react-native-worklets/plugin' in React Native Expo project
I am getting this error while running my React Native (Expo) project on Android:
enter image description here
I am facing an Android bundling error in my React Native (Expo) project.
When running:
npx ...
0
votes
1
answer
46
views
Zod v4 parse path params always string?
I'm using @tanstack/zod-adapter for parsing path params:
export const Route = createFileRoute(
"/route/$one/$two/$three",
)({
params: zodValidator(
z.object({
one: z.number(),
...
-3
votes
0
answers
125
views
Avoiding delay when using search params as state [closed]
I noticed when deriving state using Route.useSearch(), and updating state using Route.useNavigate, there is a delay when updating state. Is there guidance on how to do this optimally? So far I'm ...
-1
votes
2
answers
85
views
How can I update field state directly, quickly from AI stream?
I'm working on a text editor with my editor input being a react-hook-form field. I also have an AI writing assistant that streams text from the back-end that I need to update the input as it streams. ...
0
votes
1
answer
71
views
How to prevent child component from re-rendering when parent state changes?
I have a parent component that updates its own state. However, when the parent state changes, a child component re-renders even though its props have not changed.
I want to prevent unnecessary re-...
-2
votes
0
answers
47
views
How to debug Expo Router API? [closed]
How to debug Expo Router API ?
I cannot find documentation anywhere in the internet on how to debug Expo Router API https://docs.expo.dev/router/web/api-routes/#what-are-api-routes
To be clear, I am ...
0
votes
0
answers
29
views
React Leaflet(js) Position Issue with ImageOverlay
I've been building a react component which uses Leaflet.js. I have a custom map image which ive put in as an ImageOverlay. I'm capturing map points from a different system and calibrating the ...
Advice
0
votes
1
replies
51
views
Where does .NET stand in a world of "Prompt-to-App" builders?
I’m managing a team where the veteran devs are all-in on .NET, but the new hires won’t touch it. They’re addicted to the speed of "vibe coding" with v0 and Bolt. They basically prompt a Next....
-2
votes
1
answer
90
views
"Uncaught TypeError: Cannot read properties of undefined" when accessing nested object in JavaScript React component [closed]
Problem:
I am trying to display a user's address from a nested user object in my React component. When the component first loads, I get an Uncaught TypeError: Cannot read properties of undefined (...