but how do you know what renderItem does? where will the items end up?
we are visual creatures.
if I see a <ul><li></li></ul> I know it’s doing a list item for every object in given list.
it’s literally just html with a few added stuff, v-if to determine whether it’s rendered, v-for for iteration, dynamic class bindings and event listener bindings.
spartanatreyu@programming.dev 11 months ago
I don’t think this is a very good example. You’ve just said not to use a new language, then used JSX, a new language.