Skip to content

Tag: react-native

Cannot render components by mapping object ReactJS

I am developing a webapp using ethereum blochchain and ReactJS. In a page, inside componentDidMount() I collect data from blockchain and add it to an array named requests I tried to render components based on the elements of the requests using following code : But this error occurs How to fix this? RequestRow…

Props in component are undefined

i have parent component and child component In the console i get the output: {“answerChange”: [Function bound ], “inputChange”: [Function bound ], “props”: {“answer”: “”, “input”: “”}} undefined undefined The functions that I …