476,195 questions
0
votes
0
answers
9
views
"Uncaught TypeError: Cannot read properties of undefined" when accessing nested object in JavaScript React component
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 (...
Advice
0
votes
3
replies
48
views
Thermal Printing using react JS, dotnet
I am currently building a IMS and POS system, for the POS need to integrate thermal printing for billing, I need to know the current industrial standard of how it is implemented
Current Architecture
...
0
votes
1
answer
47
views
React rendering animations very inconsistently for a back to front Carousel; what am I missing?
I'm so frustrated and about to tear my hair out because React just doesn't seem to want to be consistent but I know there's something I'm missing as a developer.
I'm working on a back to front ...
Best practices
0
votes
2
replies
42
views
How can we access the img from one folder to another in React.js?
I am doing a React API project where in my assets folder I have my logo, and in another folder, a component called Navbar.js is there. I want the logo in that file. How can we do that ? Is there ...
-1
votes
0
answers
49
views
React form button becomes permanently enabled after Keeper password manager autofill (direct DOM mutation?) [closed]
TL;DR: A browser extension removes the disabled attribute from a React-controlled button, enabling navigation even though form state is invalid. How should form validity be enforced when DOM ...
Best practices
0
votes
2
replies
87
views
fetching from an API in react
so to fetch from an API in react we can either use the useEffect(), or a combination of useEffect() and useCallback(), but there is a very annoying problem that I see most of the time where we get ...
-4
votes
0
answers
33
views
ReactReader CFI not restoring correct page – always opens chapter title page (persist + search issue)
I’m using react-reader to display EPUB files and I’m trying to persist the last reading location using CFI.
I followed the persist example from the official demo:
https://react-reader.metabits.no/...
-3
votes
0
answers
96
views
How to read in local file in react [duplicate]
This should be simpler. I am writing a demo of some proposed solution. I need to initialize a react component (a react-quill editor if it matters) with the contents of a file. In our final solution,...
Tooling
1
vote
2
replies
57
views
Architectural differences between Laravel + Inertia (Vue) and Laravel API + React SPA
I am building a Laravel 11 backend for a job portal application with real-time features and REST APIs. I am deciding between Vue 3 and React 18 for the frontend. Considering ecosystem support, ...
-1
votes
0
answers
57
views
how to remove white space from pdf and bill printing in Electron js [closed]
i am trying to make thermal bill print also same time i am trying to save as pdf but as you can see there is white space in pdf the right side bill is in HTML format which is showing properly but ...
-2
votes
1
answer
130
views
Can I use React + Capacitor to build Android, iOS, and Web apps from the same codebase? [closed]
I have a web app built with React. I’m considering using Capacitor to turn it into native Android and iOS apps.
Will the same React project work for Android and iOS using Capacitor without major ...
-2
votes
1
answer
84
views
How can I handle recurring Stripe payments without users seeing multiple prompts? [closed]
I'm new to both React Native and our company's app. I'm trying to integrate the Stripe SDK for recurring payments.
I want to make sure users aren't prompted multiple times for the same payment, but I'...
-3
votes
0
answers
44
views
How to disable the hermes in react native 0.84 [closed]
Im the new to app development so can you help me .And when i using the hermes i can’t get the Release bundle apk but Debug apk can. so that im asking how to disable the hermes in react native
0
votes
1
answer
57
views
React/Pixi Rendering a Filter Texture over a sprite container throws off alignment
I'm fairly new to PIXI and Shaders and although I have reached the effect I want but I'm struggling with a PIXI Renderer scale issue.
The image shows a CSS grid, over the top of a PIXI canvas. In the ...
-5
votes
0
answers
109
views
How to find an element in an array? [closed]
I have an array of objects, and I need to find certain object. I am using React.
My code:
console.log("codeDataArray in header render:", codeDataArray),
console.log("finding data: "...