useItems not defined

Hi

I am trying to use infinite scrolling. When I cal useItems(items) the console throws an error telling me useItems is not defined. What should I do?