D
D
Denis2017-08-01 12:42:49
React
Denis, 2017-08-01 12:42:49

Can't get over the bug?

Hello. Recently started learning React. And at a certain stage, an error with the text "todos.map is not a function" is thrown into the console. Even though todos is an array. I can't figure out why applying map to it gives an error.
I am attaching a link to the project on Github: https://github.com/denis862008/learn-react

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2017-08-01
@den0820

To launch the project: you need to clone it from the link given in the description of the problem, run npm init, then npm run dev and open the project itself in the browser at: 127.0.0.1:3000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question