Skip to main content

All Questions

Tagged with or
1 vote
0 answers
9 views

I want to make one feature that is similar to linkdn profile upload feature.
uday palsam's user avatar
1 vote
2 answers
50 views

I am working on this lab on freeCodeCamp. I am having issues with the setInterval() method as well as the useEffect hook. Once I click on the button, with every passing second, the timer state ...
John Doe's user avatar
1 vote
1 answer
63 views

I have a React 19 + Vite 7 + TypeScript app that works perfectly in development but crashes immediately when I build for production and serve it. After a successful build I preview the output using ...
Intruvurt's user avatar
Advice
0 votes
3 replies
21 views

Like i have a button which contains left icon, right icon and badge in it. import { Slot, Slottable } from "@radix-ui/react-slot"; const Button = ({ asChild, children, leftIcon, ...
Striker's user avatar
  • 11
Tooling
0 votes
0 replies
37 views

I have a mobile application built using React Native (Expo), and the app is already fully functional. I am currently using Firebase for authentication, cart management, and real-time features like ...
Muhammad Maaz 's user avatar
0 votes
1 answer
96 views

I have been trying to optimize one of my team's component and despite successfully reducing the number of re-renders I have noticed one unexpected re-render that I just can't wrap my head around. The ...
Kreweta's user avatar
  • 77
-3 votes
0 answers
32 views

I'm writing unit tests in React and we're using Jest. I have a component that takes in some basic information on a user profile, first name, last name, address, city, state, zip. The form is in a ...
Shaun's user avatar
  • 127
0 votes
0 answers
13 views

Uncaught runtime errors: × ERROR [HMR] Hot Module Replacement is disabled. at ./node_modules/webpack/hot/dev-server.js (http://localhost:3000/static/js/bundle.js:5819:9) at options.factory (http://...
Alex Pinto's user avatar
-2 votes
1 answer
61 views

I am trying to adjust my sidebar in a dashboard and I load the value from localstorage and I get this issue from Next.js A tree hydrated but some attributes of the server rendered HTML didn't match ...
Ifeanyi Chima's user avatar
0 votes
1 answer
71 views

I am experiencing performance bottlenecks in a large form (100+ uncontrolled inputs) after migrating to React 19's useActionState. The Setup: I use uncontrolled components with defaultValue to keep ...
Laurin F.'s user avatar
-3 votes
1 answer
56 views

I am running a React project on Windows 11 using VS Code. My terminal shows 'Compiled successfully' on port 3000 (and I've tried 4000 too), but the browser (Chrome/Firefox/Edge) always shows '...
sachin mandal's user avatar
Best practices
0 votes
1 replies
52 views

I keep seeing the Container/Presentational pattern when looking for ways to structure react components. I love the idea of separation of concerns and separating out the data from the view, but then ...
My Name's user avatar
  • 11
Advice
1 vote
5 replies
92 views

I’m currently working on a React project and I’m trying to determine when to use useState (i.e., local state) versus introducing Redux for managing state. While I understand that Redux can be powerful ...
Arjee Zen's user avatar
1 vote
0 answers
101 views

I am replacing the logging system in a large React Router application and the challenge I have is that I want to use a different logger depending on whether the code is running on the server or the ...
glenatron's user avatar
  • 11.5k
0 votes
1 answer
51 views

With the release of React 19, the traditional way of handling forms (using useState for isLoading, isError, and data) is being replaced by actions and the useActionState hook. However, I'm struggling ...
Max's user avatar
  • 1,068

15 30 50 per page
1
2 3 4 5
31733