475,428 questions
Score of -4
-4
votes
0 answers
0
answers
40 views
40
views
How to integrate Readium in React Native and ensure accessibility support for EPUB reader apps? [closed]
I am building a React Native mobile application for reading digital publications (books, academic journals, EPUBs). I am considering using Readium as the core rendering engine.
I want to understand ...
Score of -4
-4
votes
0 answers
0
answers
84 views
84
views
How can I develop the decision-making skills needed for software design and architecture?
I'm comfortable building React applications, but I often feel like I'm making architectural decisions by intuition rather than understanding.
For example, I struggle with questions like:
Where should ...
Score of -2
-2
votes
1 answer
1
answer
64 views
64
views
React SVG animation: lower water layers disappear during requestAnimationFrame interpolation [closed]
I am building a Water Sort Puzzle game using React + TypeScript.
During a requestAnimationFrame pouring animation, the destination bottle temporarily becomes a single solid color. The existing lower ...
Score of 2
2
votes
1 answer
1
answer
79 views
79
views
Unable to understand how transitions work in React? (with a code example)
I am trying to understand how transitions work in React. Everytime I read the docs, I get a reasonable understanding but when I experiment with it, the understanding breaks down. I am unable to ...
Score of -1
-1
votes
1 answer
1
answer
69 views
69
views
How to create a custom component ColumnGroup
I want the names of individual groups to be a link
I'm trying to create a custom component ColumnGroup (Rsuite 6.2.2) like this:
const CustomColumnGroup = (props) => {
const { Column, ColumnGroup,...
Score of 2
2
votes
1 answer
1
answer
112 views
112
views
React using a custom fetch hook, should you put data into state
When using something like a simple custom fetch hook:
import { useEffect, useState } from "react";
import useAxiosPrivate from "./useAxiosPrivate";
function useFetch(url) {
...
Score of 1
1
vote
1 answer
1
answer
94 views
94
views
Why does useEffect show an old external store value after React Activity is shown again?
I was testing Activity in react 19.2 and noticed that a component using useEffect keeps the old store value after the activity is hidden and then shown again.
The same example works correctly with ...
Score of 0
0
votes
1 answer
1
answer
67 views
67
views
Changing code causes hydration Issue Nextjs/Turbopack [duplicate]
is there anyone a fix for this. Have been struggling to this hydration issue.
Refer to the image, as you can see. I simply added a new className, the hydration shows.
It seems like when I change code, ...
Score of -1
-1
votes
1 answer
1
answer
119 views
119
views
How to make Vite add react-icons to a separate .js file when executing 'npm run dev'? [closed]
I have to show icons (100+) in my React app so the used can select one which will be used on some diagram.
I was able to achieve that so my import looks like
...
import * as IconsFa from 'react-icons/...
Score of 2
2
votes
3 answers
3
answers
171 views
171
views
What are Wrappers in ReactJS?
Are the wrappers in ReactJS functions, HTML like tags, or something else?
If they are functions then how they work like HTML tags(closing and opening)?
<BrowserRouter></BrowserRouter>
<...
Score of -1
-1
votes
1 answer
1
answer
111 views
111
views
Why is clip-path: inset() being ignored/overridden in my React component layout? [closed]
I am building a banner component in React (Vite/CRA) where a smartphone image overflows out of the top of a container box, but a background blue circle needs to be clipped cleanly at the bottom edge ...
Score of 2
2
votes
0 answers
0
answers
142 views
142
views
React Hook Form validation across multiple tabs: is useWatch + custom validation the right approach?
I am working on a React application where a single form is divided across multiple tabs. The form is managed using React Hook Form, while each tab contains a separate group of fields.
The issue is ...
Score of -6
-6
votes
0 answers
0
answers
90 views
90
views
API call in React cannot access response [duplicate]
I am currently learning Node, Express and React and have an Express API plus React front end on my localhost. The API call is getting the following data, but the React component is unable to read it.
...
Score of -2
-2
votes
0 answers
0
answers
127 views
127
views
React state updates correctly but UI displays previous value after async operation [duplicate]
I have a search component that fetches users as the query changes. The state seems correct in React DevTools, but sometimes the UI displays results from an older search.
function UserSearch() {
...
Advice
2
votes
1
replies
117
views
react-router OR react-router-dom
I had a question about why we need to have two types of react-router and react-router-dom and I wanted to understand the difference between these two packages and which one is better for today's webs ...