React (sometimes styled React.js or ReactJS) is an open-source JavaScript library for data rendered as HTML.
Questions tagged [react-fullstack]
375 questions
0
votes
1 answer
React + Expressjs URL params returning undefined on get request
so I'm trying to make a web application that stores the user. I want to use this user in the back-end to retrieve information. So right now a button is clicked and that calls the back-end, the onClick function currently looks like this.
const…

pikachungg
- 9
- 4
0
votes
1 answer
How to monitor a container running db2 image using Prometheus and also react app using Prometheus?
I have to build a monitoring solution using Prometheus and Graphana for a service which is built using React(front end)+ Node js + Db2(containerised) . I have no idea where to start,can someone suggest me the resources where to learn?Thank you.

vinith alampally
- 13
- 3
0
votes
1 answer
React Project keeps throwing weird issues when I restart it
I'm trying to follow along with this fullstack React tutorial:
https://www.youtube.com/watch?v=RDV3Z1KCBvo&t=2579s&ab_channel=CleverProgrammer
I haven't gotten far because every time I shut down my laptop and open the project again, npm start throws…

weirdboy
- 13
- 3
0
votes
0 answers
When conditionally exporting functions components in react I cannot access my useState variables. Any Solutions?
Here is my file with two components that are supposed to conditionally render. The problem is right before I export I cannot use my variables from isLoggedIn (u, useradmin, p, passadmin).
import React, { Fragment, useState } from "react";
import…
user14885972
0
votes
0 answers
Type error: Cannot read property 'lng' of undefined
This is the code where i get that error:
export const showDataOnMap =(data, casesType = 'cases') => (
data.map(country => (

Sai prakash
- 29
- 1
- 3
0
votes
1 answer
Not able to display images in
tag in Reactjs when i have images in Array of objects
I am unable to display images in img tag in Reactjs
-
{products.map((product) => (
-
Abhijeet Gupta
- 15
- 4
0
votes
0 answers
fetch on backend not working, redux and mysql
I am using npm concurrently to run front end and backend at the same time, but still not connecting to the backend correctly.
The path is generating correctly and works in postman, but not when I call it from the site. I've run it through the…

N. Kendrick
- 1
- 1
0
votes
2 answers
Json response returning HTML in nodejs/react page
I'm new react and nodejs and full stack development in general. I'm trying to make a login page in nodejs/react/mysql. Right now, I'm just trying to do get request for the main login page. I think I'm struggling with connecting the front and backend…

Brogrammer
- 33
- 1
- 6
0
votes
0 answers
The RenderLeader component is not rendering even after passing the properties
I'm studying in a tutorial on Reactjs. The page is working fine but the required RenderLeader component is not shown on the page. (Given that imported all the required components into the file)...Under Corporate Leadership, a blank space is rendered…
0
votes
1 answer
React JS: TypeError: Cannot read property 'map' of undefined
TypeError: Cannot read property 'map' of undefined
I'm studying in a tutorial on Reactjs and want to add this about AboutUs page but when I do pass this component to the MainComponent I'm getting an error:
function About(props) {
const leaders…
0
votes
1 answer
Im getting an error in my react and rest api app where one of my variables is coming back undefined
thank you for your time if youre reading this, im making a full stack app with react and rest api and im encountering an error as such:
TypeError: errors is undefined
submit UserSignUp.js:53
promise callback*UserSignUp/this.submit…

zakmosbacher
- 3
- 3
0
votes
0 answers
TypeError: Cannot read property 'user' of undefined App in REACT
I am trying to create chatting application with firebase and react... i am facing error after adding google auth.
i added google auth. succesfully but when i want to user sign in to main app this error happened
**TypeError: Cannot read property…

Zafar Abbas
- 1
- 1
0
votes
1 answer
How to validate username and password for my form?
I have created a form with two field username and password and both are number username has length of 3 and password has a length of 6 .Could someone help me with validation.Such that if user enter a username of length less than 3 it should show a…

Milan Gupta
- 71
- 6
0
votes
1 answer
Even if the axios response is true the page is not routing to Home?
I am getting the boolean output from the axios.reponse but i want to use this reponse to route to another page.
But I am using form to give data so it can't come to the main return.
So,could u please tell where should i write my route statement such…

Milan Gupta
- 71
- 6
0
votes
1 answer
What's the error in the code . Line 51:8: Parsing error: Unexpected token, expected "{"
I am learning reactjs and I am getting parsing error in last line export App3; Please go through the below code guys and let me know what's the error(What's the error in the code . Line 51:8: Parsing error: Unexpected token, expected "{")
import…

Abhishek
- 35
- 7