so i'm sending an object sippet with the field 'followed' as a prop to a component with this code (simplified): now, i made sure its there before i ...
so i'm sending an object sippet with the field 'followed' as a prop to a component with this code (simplified): now, i made sure its there before i ...
I have recently made two applications, one that is supposed to be a component library with complex logic inside, for instance, a component that should ...
I have a Layout router page that wraps a restricted domain. I want to fetch datas from a DB from this layout if the user is authenticated. The fetchin ...
I have found this error while trying to build another React app. So I am only asking the main issue here in a demo app, I might not be able to change ...
Here's the component: export const GradeTable = (props: GradeTableProps) => { console.log('GradeTable'); console.log(props.rows); return ( ...
I'm writing React functional component that should be input for search on Neo4j. I'm dependant on the useReadCypher and cannot change it's inner impl ...
I am trying to switch from one component to another, and the second component needs to use one item from the array of the first component The problem ...
I have a page that displays data fetched from a MongoDb through API, in this page, you can modify the data and after that, the page will render again ...
Why would it still output {theTime} in the paragraph <p></p> when we're just storing setInterval inside a variable? and even more so we ...
I have a Spring Boot application where I have a model user and I am trying to retrieve Users that have the same username when I hit the submit button ...
I am unable to trigger the component to update when the viaList state is changed. If anyone could help, please <3 I don't want to append these chi ...
so I have this code in material UI react js which is not updating the value properly or so I thought, to explain this further I have this code If I ...
I was trying to use UseEffect in react for fetching new posts when the user reach at the bottom. but Problem is the app shows all posts from databas ...
https://reactjs.org/docs/react-dom.html#flushsync Force React to flush any updates inside the provided callback synchronously. This ensures that t ...
I have 3 buttons that appear using map via state in the component, but when I click on any of these buttons, I have content showing for all buttons at ...
I'm trying to refetch my user data with react-query whenever a certain state is changed. But ofcourse I can't use a hook within a hook so i can't figu ...
I'm still slightly confused about map. When I comment out the map my h2 renders, what am I doing wrong? Yes I would still like to use fetch. I need to ...
I am working on a react app and I use tokens and refresh tokens for authentication. Whenever the backend returns a 401, the axios.interceptors.respons ...
I am using useRef hook in a layout component to detect the scroll value of it's children (pageContent). I am then conditionally displaying a button to ...
**I'm getting react Error while trying to change parent component styles onMouseEnter event. How could I change the styles via child component button? ...