476,912 questions
0
votes
0
answers
9
views
How to prevent memory leak when using useEffect with WebSocket connections in React?
I'm building a real-time chat application using React and WebSocket. I'm experiencing memory leaks when users navigate between different chat rooms. Each time a user switches rooms, a new WebSocket ...
0
votes
0
answers
40
views
Next.js 16 crashes on Windows 11 when opening localhost:3000
Next.js 16 dev server exits on Windows 11 silently when opening localhost:3000.
Recently I've got the vunerability notice from the vercel regarding the critical RCE vulnerability affecting React ...
Advice
0
votes
3
replies
36
views
360 degree image in react - Panning, zooming, rotating
I'm new to stack overflow so i m not sure how to do everything right.
I'm currently working on a university project where we have to make a website that displays some 360 degree photos. I have to code ...
-3
votes
0
answers
33
views
i am using react leaflet library to use map but i am getting a error that navigate is not define and using react-vite [closed]
context : i am using react leaflet library to use map but i am getting a error that navigate is not define and using vite
function ChangeCenter({ position }) {
const map = useMap();
map....
-3
votes
0
answers
31
views
Phonepe Payment integration [closed]
So i have been working in mutitennant ecom site using node and react and using env.local for environtment variables and i am facing issue while integrating phonepe i think i am using wron env ...
-3
votes
0
answers
24
views
Cpanel- Still seeing the Old website even though i deleted all its files and replaced it with new ones [closed]
I'm stuck on a weird issue with a shared hosting cPanel environment and hoping someone here has seen this before.
I recently replaced an old static Next.js site with a new React (Vite) build. The new ...
Best practices
0
votes
3
replies
44
views
Source of truth: state (zustand) vs url (react router)
I've got a question!
I have an app where I use Zustand for my state management. For example I have states for the currentProject, current dataset and current view which decides what it shown.
I now ...
-1
votes
0
answers
24
views
OAuth Callback Route Not Matching After Deployment (Vite + React on Vercel, Express Backend on Render)
I’m building a dynamic form builder using Airtable’s OAuth PKCE flow.
My stack is:
Frontend: React + Vite on Vercel
Backend: Node.js + Express on Render
OAuth provider: Airtable
The OAuth flow works ...
-3
votes
0
answers
27
views
As a beginner React developer, what is the best path to start learning mobile app development? [closed]
I am a fresh developer and my current tech stack includes:
React.js for frontend
Node.js and Laravel for backend
I have built dashboards, CRUD operations, forms, API integrations, and some full-...
1
vote
2
answers
53
views
Optimize Hook Render Times
This is the hook I use to activate the navbar item when its section is visible in the screen, for example: section with id "#howtoorder" is in the visible part of the screen, then the navbar ...
0
votes
1
answer
70
views
React useEffect cleanup function not executing [duplicate]
I have a page that on load, executes the following effect to retrieve data from a server
const nav = useNavigation();
const loc = useLocation();
const [card, setCard] = useReducer(statefn, ...
1
vote
1
answer
45
views
Next.js 15+ Promise-based params and warning about "async Client Component. Only Server Components can be async at the moment."
Upon upgrading to Next.js 15+, per this thread (as well as this one), I refactored my Page.TSX components to have Promise-based params inside an async component function, which was required:
'use ...
-2
votes
0
answers
45
views
Bold Reports Viewer not sending POST request to ASP.NET Core Web API data source in React app [closed]
I am trying to load data into a Bold Reports viewer component inside a React application.
The report is configured to use an ASP.NET Core Web API endpoint as its data source.
I added ajaxBeforeLoad ...
-1
votes
1
answer
35
views
Solution to resolve the Cookie setup in Browser
I am trying to insert the cookie from my Backend to my Frontend, but even with 100's of attempts I am not able to perform it. I tried everything. I tried to update the CORS policy, I even changed the ...
-1
votes
1
answer
22
views
Highlight search query (QuickFilter) results in MUI DataGrid
When a search is being performed in MUI's DataGrid component, how can the search term (ie. QuickFilter) be used to highlight the matching texts within the rows of the grid? (similar to search ...