somebody help me here im stuck
the code is here https://github.dev/clapycodes/react-project
11 Replies
Had a look and I think where you have
tasks.map
you want to actually show the task and not create a <Task>
element (you're already in a <Task>
)
As for the error in TaskBoard.js you misspelled Column
as Colmun
can you like write the code how to do it (im beginner in reactjs
That is for Column.js and you already have that (although you aren't passing the index which you'll need as it looks like you're going to be dragging list items and you need to know which index is moving where)
You want to move onto the next part of the tutorial which talks about Task.js. I don't know what the tutorial wants you to end up with and it's probably better to stick with that. I do have a very basic todo list I made while live coding for someone (it explains the slightly odd comments) if that helps https://codepen.io/z-/pen/vYRpXOp
thank you so much for telling me i fixed it ❤️
didn't expect it'
Easy mistake to make
btw brother how can i show now it on the window
i did it but now i dont know how to show it on the local
why is this ?
?
This is to recursively place a Task / subtask.
It's a common way to lay out nested navigation etc
But not in this situation
It was non-conditional so would have been infinite recursion if tasks was passed
Inside App.js you want to import from
'./components/TaskBoard'
'./components/Column'
'./components/Task'