475,726 questions
-1
votes
0
answers
57
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
56
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
95
views
React 19 use() hook with Suspense boundaries: unexpected re-renders on cached promises
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 (...
-9
votes
1
answer
129
views
should i remove the return? [closed]
useEffect(() => {
const handleScroll = () =>{
if(window.scrollY > 100) {
setShowModal(true);
window.removeEventListener("scroll", handleScroll);
}
...
-3
votes
1
answer
115
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
56
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
134
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
159
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
90
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
117
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
8
replies
94
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 ...
-1
votes
1
answer
72
views
React Three Fiber SkinnedMesh (6.4MB) fails to render on mobile browsers but works perfectly on desktop [closed]
I am building a web-based 3D interactive project using React Three Fiber. The model is a character with skeletal animations (SkinnedMesh) generated by an AI tool.
The project works perfectly on ...
Advice
0
votes
0
replies
51
views
open WeChat app directly from ReactJS app for seamless integration
i have CRM dashboard made with ReactJS, client asks for integration with WeChat so he is able to send invoice data to WeChat as a .xlsx file, doing research i read that we can't open WeChat directly ...
-1
votes
0
answers
90
views
How can I stop ReactGridLayout elements from resizing when the containing window is resized?
I want to be able to expand the size of the window, and the datagrid, to cover two monitors, so the user can move elements around freely and resize them manually as need be, but I do not want the ...
Advice
1
vote
4
replies
111
views
How should I structure a 50-day learning plan for React and Node.js as a beginner with JavaScript basics?
I have basic knowledge of HTML, CSS, and JavaScript (functions, arrays, objects), but I have not built any real-world projects yet.
I want to learn full-stack development using React (frontend) and ...