How I can render list in react and show it on page
I have this
@Self
@Via(type = ResourceSuperType.class)
private List list;
@Override
public Collection<ListItem> getListItems() {
return null != list ? list.getListItems() : null;
}
Is that even good?
And in react im trying to render it like this but nothing is happening, blank page
{props.listItems && (
<h4 className="footer__title">{props.listItems}</h4>
)}Any suggestion?
