help debug my react app

Suljettu Julkaistu 5 vuotta sitten Maksettu toimituksen yhteydessä
Suljettu Maksettu toimituksen yhteydessä

mapStateToProps is returning an empty object and then the correct object. [login to view URL] is undefined in my component except for inside render

const mapStateToProps = (state) => {

debugger

return {weights: [login to view URL]}

}

state = {saveWeight: Array(0), fetchWeights: Array(0)}

const mapStateToProps = (state) => {

debugger

return {weights: [login to view URL]}

}

state = {saveWeight: Array(0), fetchWeights: Array(1)}

React.js Ruby on Rails

Projektin tunnus: #18421721

Tietoa projektista

10 ehdotusta Etäprojekti Aktiivinen 5 vuotta sitten

10 freelanceria on tarjonnut keskimäärin $43 tähän työhön

greenforest0204

Hello! I am very interested in your post project. i am really looking for this kind of project for a long time in freelancer since i have rich experience on it. I think this project is very suitable for me and i am Lisää

$100 USD 1 päivässä
(2 arvostelua)
3.6
vijayatmin

Hii... I am web developer.. I am interested on your project. Message me, will discuss further..................

$15 USD 1 päivässä
(1 arvostelu)
3.1
dipeshwaglee

Hi, there - My name is Dipesh. I've read your job description and I am very interested in this project because I have good proficiency with React. I can easily fix your problem in a short time. Let's talk in chat furth Lisää

$20 USD 1 päivässä
(4 arvostelua)
3.4
gomez216

I have experience using reactjs. I can help you!!

$35 USD 2 päivässä
(0 arvostelua)
0.0
StefanPP

Hello there, I'm quite experience in React, I think I can help you. Reach out to me so we can figure it out.

$25 USD 1 päivässä
(0 arvostelua)
0.0
shtolcers

I hope I understood your problem correctly. If you have ajax calls or computations based on props outside initial state, first render can be with missing data. You must use conditions in render method - not to render Lisää

$30 USD 2 päivässä
(0 arvostelua)
0.0