475,730 questions
-4
votes
0
answers
60
views
React app startup is very slow and shows Webpack/Node deprecation warnings [closed]
(node:22188) [DEP0176] DeprecationWarning: fs.F_OK is deprecated, use fs.constants.F_OK instead
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:22188) [...
Advice
1
vote
4
replies
77
views
How to properly fetch data inside useEffect without causing unnecessary re-renders or bugs
I'm currently learning React and working on improving my frontend development skills. I understand the basics of JSX, components, and props, but I'm struggling with more advanced concepts like state ...
-1
votes
0
answers
43
views
How to make a multi x axis bar chart in rechart with values from a JSON where a group of elements share id
Currently Im working on a React/JS project where I read a JSON with this structure for data:
sprintId = [num]
username = [string]
completedTasks = [num]
And I need to make a graph like ...
Best practices
0
votes
7
replies
192
views
How to handle 1 million requests per minute or 10k per second in a full stack application from user interface to backend
what are the performance techniques that we need to apply at each layer of our application development and deployment so that it will handle huge number requests .
lets consider React JS as frontend ...
-1
votes
1
answer
53
views
How to preserve image filename in Quill JS when using base64 inline images?
I am using Quill JS (React) to compose emails. When I upload an image, Quill converts it into a base64 string inside the <img src='base64datas....'> tag. However, I need the original filename on ...
-1
votes
0
answers
118
views
React Native keyboardAvoidingView gap on Android with adjustResize [closed]
I am developing a chat interface for a sports social marketplace app using React Native (Expo/Bare). Initially, my input field was being hidden by the keyboard, which I fixed using ...
-3
votes
0
answers
74
views
Why is my React component re-rendering infinitely when using useEffect? [closed]
I am learning React and trying to update a state value inside useEffect.
However, my component keeps re-rendering continuously.
import { useEffect, useState } from "react";
export default ...
0
votes
1
answer
128
views
React 19 use() hook with Suspense boundaries: unexpected re-renders on cached promises [closed]
I've been migrating a mid-sized app to React 19 and started using the new use() hook to read promises directly in components. The issue I'm running into is that even with a stable promise reference (...
-3
votes
1
answer
136
views
Why is the map method returning my array as undefined? [closed]
Why does the error message appear TypeError: can't access property "map", headers is undefined?
I have defined headers inside a state variable, passed it as props and used it inside a ...
0
votes
0
answers
79
views
Standard project structure for a React-TypeScript frontend integrated with an Express-AI (Gemini/OpenAI) backend? [closed]
I am looking to understand the professional architecture for a full-stack AI Chatbot application. I am transitioning from a Java background and currently working with a React-TypeScript frontend and ...
Advice
1
vote
8
replies
155
views
Creating a Menu with React.js
I need to create a menu with three links using React.js, and they all need to be on one line. So far, I have the links created, but they are stacking up, one on top of the other. I am trying to get ...
Advice
0
votes
9
replies
186
views
What is best, React or Flutter?
What is best, keeping an app written in React or change the app to Flutter?
-1
votes
2
answers
101
views
Why does my custom hook cause an infinite re-render in React even though dependencies seem correct? [duplicate]
I created a custom hook to fetch data and memoize it using useEffect and useMemo, but my component ends up in an infinite re-render loop. I can’t figure out why. Here’s a simplified version of my code:...
Advice
1
vote
2
replies
126
views
How to structure a React project for stock management?
I'm building a stock management project using React (with Redux-Toolkit).
My project includes:
Products
Product variants
Categories
Stock management (add / remove / update quantity)
Forms (create/...
Advice
0
votes
9
replies
124
views
Need Suggestion for best MERN stack online course?
Can you recommend me a MERN stack course according to the current industry demand and the below listed constraints?
The constraints are: -
Budget is around 25k INR.
Course duration should be around ...