Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [react]

Filter by
Sorted by
Tagged with
-1 votes
2 answers
212 views

We need to do the front-end with spa. The question is whether to use a full-stack framework like next.js, but only the front-end part, without server-side components. If I don't use them, could these ...
dok's user avatar
  • 301
1 vote
3 answers
254 views

Let's say we have this component: const Card = ({ title, description, price, tag, category }) => { return ( <div> {title && <h5>{title}</h5>} {...
Oki's user avatar
  • 117
0 votes
0 answers
112 views

I'm currently developing a web application using React and I'm looking for the best practices for managing state effectively. I've come across several methods such as using the Context API, Redux, and ...
Tarun Rathore's user avatar
0 votes
1 answer
197 views

I am new to React and web development generally so please try to understand if the question seems dumb. So, I am currently making a simple e-commerce app and I was thinking of using state management ...
Solruhama's user avatar
0 votes
2 answers
344 views

I am quite new to design software and especially graphs. So I am working on a full-stack app with a back-end built on FastAPI (python) et front-end on React. I need to create 4 graphs on a single page ...
intern_2004_uk's user avatar
0 votes
1 answer
316 views

Context: I am building a site that is essentially just a UI for eBird's API. My first question is about naming. Wikipedia defines a client as "a piece of computer hardware or software that ...
Christopher Fimbel's user avatar
0 votes
3 answers
517 views

I'm currently working as Fullstack developer, our frontend is being built in React. Our current process involves: The client / product owner describes a feature to the UI / UX designer. The designer ...
Guiom's user avatar
  • 41
4 votes
2 answers
1k views

What exactly is the purpose of React JS? I've heard a few things, like: It updates the page without refreshing. It is modular and can reduce redundant coding. It is faster than updating the DOM ...
Kenneth Dang's user avatar
1 vote
2 answers
3k views

I have a very big form - let's call it <MyForm> - consisting of the following: text fields and dropdowns custom selector made of selectable cards table input (for this example 50 rows with each ...
Hans's user avatar
  • 121
-1 votes
2 answers
287 views

What do I do in this situation? Do I just initialize dummy functions in place of signup, login, and logout? It seems so unnecessary since they are defined in AuthProvider. type AuthContext = { ...
Sebastian Nielsen's user avatar
1 vote
1 answer
809 views

I currently have two applications where one is a landing page (built in react) and another is a web page that lets users explore data (Written in ASP.NET 4.7). I'm currently using resx files to handle ...
avenmia's user avatar
  • 121
2 votes
1 answer
431 views

Situation At the project I'm currently working on we're using Chakra UI to create our UI. But I guess this question applies to whatever (UI) library you're using. There are certain components that ...
Jap Mul's user avatar
  • 121
0 votes
3 answers
2k views

As a Java developer, I just have scratched the surface of Javascript libraries like React, Angular, Vue etc. It seems that theoretically any web applications with server side rendering, like Spring-...
Rui's user avatar
  • 1,935
-3 votes
2 answers
153 views

I'm backend developer working on a very backend heavy application. So most of the business logic is writen in the backend. In our project we are considering a full rewrite of the frontend. Currently ...
Peter Mølgaard Pallesen's user avatar
0 votes
0 answers
368 views

What is the best way to create dynamic user roles that can have toggleable permissions? I am currently creating my very first website which has a react front end with redux toolkit and redux saga and ...
Asif333's user avatar
-3 votes
1 answer
149 views

I'm looking for a way to share a React Native component with 3rd parties without having to share the actual source code. Something like a .jar in Java or a .dll for C#. So assuming we have company A ...
Gr3at's user avatar
  • 131
0 votes
1 answer
114 views

I have simple API that my React App can use to communicate with my backend. The API has different endpoints and 3 different versions and works like this: We have the public URL, that anonymous users ...
user2741831's user avatar
1 vote
1 answer
261 views

We have a react website that, as part of it's process, loads a dynamically generated javascript file from a third party. It uses some of the scripts in this javascript file to generate values, which ...
David Jacobsen's user avatar
-3 votes
1 answer
496 views

After hours of reading blog posts, I understand that React has one-way data binding, and Angular has two-way. But I don't actually know what that means.... React import { useState } from 'react'; ...
Paul Draper's user avatar
  • 6,088
1 vote
1 answer
345 views

I have a Single Page Application that uses React-Router and is served via Go backend. The pre-built static app is accessible at app.com which then uses app.com/api to load dynamic data. If a user goes ...
Coupcoup's user avatar
  • 220
1 vote
0 answers
242 views

I'm doing a website that has a React frontend that calls some RESTful API and I would like to know if this is an MVP pattern. I think that the React application implements the View and the Presenter, ...
Lorenzo Felletti's user avatar
-3 votes
2 answers
345 views

I am developing a multi-tenant project that will be a kind of micro "ecommerce" and therefore customers will be able to create their own stores and will be able to choose between creating a ...
João Silva's user avatar
2 votes
1 answer
158 views

A project is structured as so: A build server listens to changes in two repositories: a frontend and backend repo. When it picks up a change it builds, tests, and deploys the updates to a production ...
Coupcoup's user avatar
  • 220
4 votes
0 answers
417 views

I'm building a todo list app and using react-beautiful-dnd on the frontend to allow users to reorder tasks. I'm trying to work out how to persist changes to the database when a user reorders items. ...
mrseanbaines's user avatar
1 vote
1 answer
655 views

Context When designing the API of a React component, you may decide to receive props in a more semantical way. Here's a simple example <Modal headerTitle="foo" /> vs <Modal> &...
Christopher Francisco's user avatar
0 votes
2 answers
2k views

In my company, we're using Spring Boot to implement backend API and React to implement frontend including Web interface and Android/iOS apps. Since our product is an Enterprise software, customers ...
JamesBoyZ's user avatar
  • 245
1 vote
1 answer
543 views

I'm currently refactoring an older legacy application and use React to rebuild some of the former functionality. This application has a form which has +10 different input fields. The aim is to kind of ...
tschaka1904's user avatar
1 vote
0 answers
173 views

Please forgive me if I am mixing up the terminology here, I'm a bit unfamiliar with it. I wanted to find a way to support extensibility in a web application; I wanted a web application that was ...
michael's user avatar
  • 119
5 votes
3 answers
649 views

So we decided to redo UI of our web application in React. Six months down the lane and we have a complete mess of components and reducers and thunks and actions and god knows what not. We have ...
lahory's user avatar
  • 315
-4 votes
1 answer
150 views

I have a design question and am hoping for some validation. I want to create a 'serverless' web app which will parse a csv file and return an XML file. I will have a single page react app hosted in ...
user3437721's user avatar
2 votes
1 answer
408 views

I'm making an app which is a Django backend and a React frontend (being developed by someone else). The plan currently is to fully decouple the two and have them communicate over API. However, I would ...
Neil's user avatar
  • 229
-4 votes
2 answers
755 views

I'm very new to the serverless and backend world. I've been looking at tutorials on youtube and on serverless-stack.com (which is really good btw) and they mostly seem to cover React frontend ...
EnterPassword's user avatar
2 votes
0 answers
2k views

I have some deeply nested react components. Let's limit them to 3 levels of nesting and call them Parent, Children and Grandchildren. The state for the entire app is stored in a single object in the ...
Irfan434's user avatar
  • 187
2 votes
0 answers
55 views

i am building a single page react app that uses redux as state manager and an express node js as backend server but i don't know what is the best way to authorize my users in the application! if it ...
amin msh's user avatar
  • 129
2 votes
1 answer
1k views

Lets say I have a component that render some "static" information and another one that is the parent of these components. function Foo(){ ... return ( <Bar name="I" {......
Vencovsky's user avatar
  • 371
-2 votes
1 answer
152 views

In framworks for developing app whether it be a joomla or react or angular i see app class. What does it mean. Like if there is some user class, or some input class or that make sense for some purpose ...
bikashamit's user avatar
-2 votes
1 answer
655 views

We're configuring the build and release pipeline for our frontend code which is built with React. The final output is just some static HTML/Javascript code. The differences between environments are ...
s g 's user avatar
  • 115
1 vote
0 answers
191 views

It seems that some components like to pass an event as the first (or only) argument for a change event, eg (the native input, Material-UI's TextField) and then the programmer accesses the value with ...
dwjohnston's user avatar
  • 2,769
4 votes
1 answer
3k views

I have a legacy Java monolithic web application. My goal is to use React on the frontend, keep Java on the backend and add an API for the frontend to use. My question is how can I write the data ...
Dan's user avatar
  • 41
2 votes
1 answer
116 views

I'm using ReactJS (React Hooks, specifically) to build an application. Part of that application involves account creation, sign-in, and authentication. I only recently finished the sign-in feature, ...
IceMetalPunk's user avatar
1 vote
0 answers
36 views

I'm not sure if this is the right way to build React components. I have a component with several buttons that call different functions in the component. In some of the functions I need to display ...
Mr Zach's user avatar
  • 269
5 votes
1 answer
3k views

I'm building an Electron app using React. I'm coming from the C# and WPF world and I'm wondering, where should my domain classes go? I understand the concept of components, but what about a class with ...
Ish Thomas's user avatar
0 votes
0 answers
72 views

I just want to curious about adding a converter is a good practice or not. I have multiple API and I always convert API return fields to my client fields. Like=> function ConvertFromAPI(apidata){ ...
Loran's user avatar
  • 101
-1 votes
1 answer
224 views

A quick google search shows that the question I have has not been asked directly, and so I ask it here. For what its worth, I am learning react, and I come from a C++ background, where as far as I ...
Anon's user avatar
  • 3,649
2 votes
0 answers
121 views

Let us consider a complex form of registering a driver and owner. The driver will have all these fields: driver = { firstName: "xyz", lastName: "abc", phone: "1234", email: "[email protected], licence: "...
Malik Bagwala's user avatar
0 votes
0 answers
652 views

So lets say I have a SQL query made by a server that fetches up to thousands of records at a time and I need to display those records in a grid(similar to AG Grid) on the client for the user to review....
Aman Saran's user avatar
0 votes
1 answer
1k views

Let's say I have a react component like this: const MyComponent = ({data}) => (<div>{JSON.stringify(data)}</div>); const myReduxSelector = (state, id) => state.someData[id]; ...
dwjohnston's user avatar
  • 2,769
4 votes
0 answers
580 views

I’m new to React/Redux tools and still figuring out some idiomatic design patterns. Here's a scenario: A user adding a place marker 📍 (that has some associated metadata) to an interactive map (...
danwild's user avatar
  • 149
0 votes
0 answers
45 views

Most of the react application I've seen are organized with components that, in my opinion, do too much. They may follow this pattern: class MyComponent extends Component { constructor() { ...
heapOverflow's user avatar
0 votes
2 answers
137 views

I'm working on a React/Redux application. I receive a data object from the api resembling this: const dataObj = [ { id: 1, name: "Filo", activity: 9, info: { statusCode: 4 ...
mtmoran's user avatar
  • 103