Listview component and Custom Component

Hey everyone, there is a way to create a List view component or something similar? So based on the length of an array render the number of items.

I’ve tried to create a CustomComponent but I have some doubts:

  • It’s possible to use a regular component inside a custom component? i.e. button component or input component
  • is this correct to send and display data to the custom component?
{ title: 'Custom Component',
users: {{actions.getdata.data}}}
  • If it’s correct, how should I use that data inside the component? Im trying in this way but is not working.
    const data = UB.useData();
    const users= data.users;
    
  • There is any console log to test outputs on the CustomComponent? (i.e.: way to see a console.log() output)

Thanks in advance!

1 Like